public class EncryptedData extends ASN1Object
EncryptedData ::= SEQUENCE { version Version, encryptedContentInfo EncryptedContentInfo } EncryptedContentInfo ::= SEQUENCE { contentType ContentType, contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier, encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL } EncryptedContent ::= OCTET STRING
Constructor and Description |
---|
EncryptedData(ASN1ObjectIdentifier contentType,
AlgorithmIdentifier encryptionAlgorithm,
ASN1Encodable content) |
Modifier and Type | Method and Description |
---|---|
ASN1OctetString |
getContent() |
ASN1ObjectIdentifier |
getContentType() |
AlgorithmIdentifier |
getEncryptionAlgorithm() |
static EncryptedData |
getInstance(java.lang.Object obj) |
ASN1Primitive |
toASN1Primitive() |
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public EncryptedData(ASN1ObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, ASN1Encodable content)
public static EncryptedData getInstance(java.lang.Object obj)
public ASN1ObjectIdentifier getContentType()
public AlgorithmIdentifier getEncryptionAlgorithm()
public ASN1OctetString getContent()
public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object