CMSAlgorithmProtection ::= SEQUENCE {
digestAlgorithm DigestAlgorithmIdentifier,
signatureAlgorithm [1] SignatureAlgorithmIdentifier OPTIONAL,
macAlgorithm [2] MessageAuthenticationCodeAlgorithm
OPTIONAL
}
(WITH COMPONENTS { signatureAlgorithm PRESENT,
macAlgorithm ABSENT } |
WITH COMPONENTS { signatureAlgorithm ABSENT,
macAlgorithm PRESENT })
| Modifier and Type | Field and Description |
|---|---|
| private final AlgorithmIdentifier | |
| public static final int | |
| private final AlgorithmIdentifier | |
| public static final int | |
| private final AlgorithmIdentifier |
| Access | Constructor and Description |
|---|---|
| public | CMSAlgorithmProtection(AlgorithmIdentifier digestAlgorithm, int type, AlgorithmIdentifier algorithmIdentifier)
|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public AlgorithmIdentifier | |
| public static CMSAlgorithmProtection | |
| public AlgorithmIdentifier | |
| public AlgorithmIdentifier | |
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. |
| digestAlgorithm | back to summary |
|---|---|
| private final AlgorithmIdentifier digestAlgorithm | |
| MAC | back to summary |
|---|---|
| public static final int MAC | |
| macAlgorithm | back to summary |
|---|---|
| private final AlgorithmIdentifier macAlgorithm | |
| SIGNATURE | back to summary |
|---|---|
| public static final int SIGNATURE | |
| signatureAlgorithm | back to summary |
|---|---|
| private final AlgorithmIdentifier signatureAlgorithm | |
| CMSAlgorithmProtection | back to summary |
|---|---|
| public CMSAlgorithmProtection(AlgorithmIdentifier digestAlgorithm, int type, AlgorithmIdentifier algorithmIdentifier) | |
| CMSAlgorithmProtection | back to summary |
|---|---|
| private CMSAlgorithmProtection(ASN1Sequence sequence) | |
| getDigestAlgorithm | back to summary |
|---|---|
| public AlgorithmIdentifier getDigestAlgorithm() | |
| getInstance | back to summary |
|---|---|
| public static CMSAlgorithmProtection getInstance(Object obj) | |
| getMacAlgorithm | back to summary |
|---|---|
| public AlgorithmIdentifier getMacAlgorithm() | |
| getSignatureAlgorithm | back to summary |
|---|---|
| public AlgorithmIdentifier getSignatureAlgorithm() | |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Doc from org. Method providing a primitive representation of this object suitable for encoding.
| |