org.bouncycastle.asn1.cms
Class EncryptedData
java.lang.Object
|
+--org.bouncycastle.asn1.cms.EncryptedData
- public class EncryptedData
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncryptedData
public EncryptedData(EncryptedContentInfo encryptedContentInfo,
ASN1Set unprotectedAttrs)
EncryptedData
public EncryptedData(ASN1Sequence seq)
getInstance
public static EncryptedData getInstance(java.lang.Object obj)
- return an EncryptedData object from the given object.
- Parameters:
obj
- the object we want converted.
- Throws:
java.lang.IllegalArgumentException
- if the object cannot be converted.
getVersion
public DERInteger getVersion()
getEncryptedContentInfo
public EncryptedContentInfo getEncryptedContentInfo()
getUnprotectedAttrs
public ASN1Set getUnprotectedAttrs()
getDERObject
public DERObject getDERObject()
- Produce an object suitable for an ASN1OutputStream.
EncryptedData ::= SEQUENCE {
version CMSVersion,
encryptedContentInfo EncryptedContentInfo,
unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL
}