org.bouncycastle.asn1.cms
Class EnvelopedData
- DEREncodable
public class EnvelopedData
getInstance
public static EnvelopedData getInstance(Object obj)
return an EnvelopedData object from the given object.
obj
- the object we want converted.
getInstance
public static EnvelopedData getInstance(ASN1TaggedObject obj,
boolean explicit)
return an EnvelopedData object from a tagged object.
obj
- the tagged object holding the object we want.explicit
- true if the object is meant to be explicitly
tagged false otherwise.
getRecipientInfos
public ASN1Set getRecipientInfos()
getUnprotectedAttrs
public ASN1Set getUnprotectedAttrs()
toASN1Object
public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
EnvelopedData ::= SEQUENCE {
version CMSVersion,
originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
recipientInfos RecipientInfos,
encryptedContentInfo EncryptedContentInfo,
unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL
}
- toASN1Object in interface ASN1Encodable