public class EncryptedData extends ASN1Encodable
EncryptedData ::= SEQUENCE { version Version, encryptedContentInfo EncryptedContentInfo } EncryptedContentInfo ::= SEQUENCE { contentType ContentType, contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier, encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL } EncryptedContent ::= OCTET STRING
BER, DER
Constructor and Description |
---|
EncryptedData(ASN1Sequence seq) |
EncryptedData(DERObjectIdentifier contentType,
AlgorithmIdentifier encryptionAlgorithm,
DEREncodable content) |
Modifier and Type | Method and Description |
---|---|
ASN1OctetString |
getContent() |
DERObjectIdentifier |
getContentType() |
AlgorithmIdentifier |
getEncryptionAlgorithm() |
static EncryptedData |
getInstance(Object obj) |
DERObject |
toASN1Object() |
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
public EncryptedData(ASN1Sequence seq)
public EncryptedData(DERObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, DEREncodable content)
public static EncryptedData getInstance(Object obj)
public DERObjectIdentifier getContentType()
public AlgorithmIdentifier getEncryptionAlgorithm()
public ASN1OctetString getContent()
public DERObject toASN1Object()
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.