Package org.apache.kerby.cms.type
Class EnvelopedData
java.lang.Object
org.apache.kerby.asn1.type.Asn1Object
org.apache.kerby.asn1.type.Asn1Encodeable
org.apache.kerby.asn1.type.AbstractAsn1Type<org.apache.kerby.asn1.type.Asn1CollectionType>
org.apache.kerby.asn1.type.Asn1CollectionType
org.apache.kerby.asn1.type.Asn1SequenceType
org.apache.kerby.cms.type.EnvelopedData
- All Implemented Interfaces:
org.apache.kerby.asn1.Asn1Dumpable,org.apache.kerby.asn1.type.Asn1Type
public class EnvelopedData
extends org.apache.kerby.asn1.type.Asn1SequenceType
EnvelopedData ::= SEQUENCE {
version CMSVersion,
originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
recipientInfos RecipientInfos,
encryptedContentInfo EncryptedContentInfo,
unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL
}
OriginatorInfo ::= SEQUENCE {
certs [0] IMPLICIT CertificateSet OPTIONAL,
crls [1] IMPLICIT RevocationInfoChoices OPTIONAL
}
RecipientInfos ::= SET SIZE (1..MAX) OF RecipientInfo
EncryptedContentInfo ::= SEQUENCE {
contentType ContentType,
contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier,
encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL
}
EncryptedContent ::= OCTET STRING
UnprotectedAttributes ::= SET SIZE (1..MAX) OF Attribute
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.apache.kerby.asn1.type.Asn1Type
org.apache.kerby.asn1.type.Asn1Type.EncodingType -
Field Summary
Fields inherited from class org.apache.kerby.asn1.type.Asn1Encodeable
bodyLength, outerEncodeable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetCmsVersion(CmsVersion cmsVersion) voidsetEncryptedContentInfo(EncryptedContentInfo encryptedContentInfo) voidsetOriginatorInfo(OriginatorInfo originatorInfo) voidsetRecipientInfos(RecipientInfos recipientInfos) voidsetUnprotectedAttributes(UnprotectedAttributes unprotectedAttributes) Methods inherited from class org.apache.kerby.asn1.type.Asn1SequenceType
createCollectionMethods inherited from class org.apache.kerby.asn1.type.Asn1CollectionType
decodeBody, dumpWith, encodeBody, encodingBodyLength, getFieldAs, getFieldAsAny, getFieldAsInteger, getFieldAsObjId, getFieldAsOctets, getFieldAsString, setAnyFieldValueType, setFieldAs, setFieldAsAny, setFieldAsInt, setFieldAsInt, setFieldAsObjId, setFieldAsOctetsMethods inherited from class org.apache.kerby.asn1.type.AbstractAsn1Type
getValue, setValue, toStringMethods inherited from class org.apache.kerby.asn1.type.Asn1Encodeable
decode, decode, decode, encode, encode, encodingHeaderLength, encodingLength, getBodyLength, getHeaderLength, isBER, isCER, isDefinitiveLength, isDER, isImplicit, isPrimitive, resetBodyLength, taggedDecode, taggedDecode, taggedDecode, taggedEncode, taggedEncode, taggedEncodingLength, useBER, useCER, useDefinitiveLength, useDER, useImplicit, usePrimitiveMethods inherited from class org.apache.kerby.asn1.type.Asn1Object
isAppSpecific, isCollection, isContextSpecific, isEOC, isNull, isSimple, isTagSpecific, isUniversal, simpleInfo, tag, tagFlags, tagNoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.kerby.asn1.type.Asn1Type
tag
-
Constructor Details
-
EnvelopedData
public EnvelopedData()
-
-
Method Details
-
getCmsVersion
-
setCmsVersion
-
getOriginatorInfo
-
setOriginatorInfo
-
getRecipientInfos
-
setRecipientInfos
-
getEncryptedContentInfo
-
setEncryptedContentInfo
-
getUnprotectedAttributes
-
setUnprotectedAttributes
-