AuthenticatedData ::= SEQUENCE {
version CMSVersion,
originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
recipientInfos RecipientInfos,
macAlgorithm MessageAuthenticationCodeAlgorithm,
digestAlgorithm [1] DigestAlgorithmIdentifier OPTIONAL,
encapContentInfo EncapsulatedContentInfo,
authAttrs [2] IMPLICIT AuthAttributes OPTIONAL,
mac MessageAuthenticationCode,
unauthAttrs [3] IMPLICIT UnauthAttributes OPTIONAL }
AuthAttributes ::= SET SIZE (1..MAX) OF Attribute
UnauthAttributes ::= SET SIZE (1..MAX) OF Attribute
MessageAuthenticationCode ::= OCTET STRING
| Modifier and Type | Field and Description |
|---|---|
| private ASN1Set | |
| private AlgorithmIdentifier | |
| private ContentInfo | |
| private ASN1OctetString | |
| private AlgorithmIdentifier | |
| private OriginatorInfo | |
| private ASN1Set | |
| private ASN1Set | |
| private ASN1Integer |
| Access | Constructor and Description |
|---|---|
| public | AuthenticatedData(OriginatorInfo originatorInfo, ASN1Set recipientInfos, AlgorithmIdentifier macAlgorithm, AlgorithmIdentifier digestAlgorithm, ContentInfo encapsulatedContent, ASN1Set authAttrs, ASN1OctetString mac, ASN1Set unauthAttrs)
|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public ASN1Set | |
| public AlgorithmIdentifier | |
| public ContentInfo | |
| public static AuthenticatedData | Returns: a reference that can be assigned to AuthenticatedData (may be null)the tagged object holding the object we want. obj, boolean true if the object is meant to be explicitly
tagged false otherwise. explicit)Return an AuthenticatedData object from a tagged object. |
| public static AuthenticatedData | Returns: a reference that can be assigned to AuthenticatedData (may be null)the object we want converted. obj)Return an AuthenticatedData object from the given object. |
| public ASN1OctetString | |
| public AlgorithmIdentifier | |
| public OriginatorInfo | |
| public ASN1Set | |
| public ASN1Set | |
| public ASN1Integer | |
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. Produce an object suitable for an ASN1OutputStream. |
| authAttrs | back to summary |
|---|---|
| private ASN1Set authAttrs | |
| digestAlgorithm | back to summary |
|---|---|
| private AlgorithmIdentifier digestAlgorithm | |
| encapsulatedContentInfo | back to summary |
|---|---|
| private ContentInfo encapsulatedContentInfo | |
| mac | back to summary |
|---|---|
| private ASN1OctetString mac | |
| macAlgorithm | back to summary |
|---|---|
| private AlgorithmIdentifier macAlgorithm | |
| originatorInfo | back to summary |
|---|---|
| private OriginatorInfo originatorInfo | |
| recipientInfos | back to summary |
|---|---|
| private ASN1Set recipientInfos | |
| unauthAttrs | back to summary |
|---|---|
| private ASN1Set unauthAttrs | |
| version | back to summary |
|---|---|
| private ASN1Integer version | |
| AuthenticatedData | back to summary |
|---|---|
| public AuthenticatedData(OriginatorInfo originatorInfo, ASN1Set recipientInfos, AlgorithmIdentifier macAlgorithm, AlgorithmIdentifier digestAlgorithm, ContentInfo encapsulatedContent, ASN1Set authAttrs, ASN1OctetString mac, ASN1Set unauthAttrs) | |
| AuthenticatedData | back to summary |
|---|---|
| private AuthenticatedData(ASN1Sequence seq) | |
| calculateVersion | back to summary |
|---|---|
| public static int calculateVersion(OriginatorInfo origInfo) | |
| getAuthAttrs | back to summary |
|---|---|
| public ASN1Set getAuthAttrs() | |
| getDigestAlgorithm | back to summary |
|---|---|
| public AlgorithmIdentifier getDigestAlgorithm() | |
| getEncapsulatedContentInfo | back to summary |
|---|---|
| public ContentInfo getEncapsulatedContentInfo() | |
| getInstance | back to summary |
|---|---|
| public static AuthenticatedData getInstance(ASN1TaggedObject obj, boolean explicit) Return an AuthenticatedData object from a tagged object.
| |
| getInstance | back to summary |
|---|---|
| public static AuthenticatedData getInstance(Object obj) Return an AuthenticatedData object from the given object. Accepted inputs:
| |
| getMac | back to summary |
|---|---|
| public ASN1OctetString getMac() | |
| getMacAlgorithm | back to summary |
|---|---|
| public AlgorithmIdentifier getMacAlgorithm() | |
| getOriginatorInfo | back to summary |
|---|---|
| public OriginatorInfo getOriginatorInfo() | |
| getRecipientInfos | back to summary |
|---|---|
| public ASN1Set getRecipientInfos() | |
| getUnauthAttrs | back to summary |
|---|---|
| public ASN1Set getUnauthAttrs() | |
| getVersion | back to summary |
|---|---|
| public ASN1Integer getVersion() | |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Produce an object suitable for an ASN1OutputStream.
| |