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
Modifier and Type | Field and Description |
---|---|
(package private) DERObjectIdentifier |
bagId |
(package private) DERObject |
bagValue |
(package private) ASN1Sequence |
data |
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(java.lang.Object obj) |
DERObject |
toASN1Object() |
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
ASN1Sequence data
DERObjectIdentifier bagId
DERObject bagValue
public EncryptedData(ASN1Sequence seq)
public EncryptedData(DERObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, DEREncodable content)
public static EncryptedData getInstance(java.lang.Object obj)
public DERObjectIdentifier getContentType()
public AlgorithmIdentifier getEncryptionAlgorithm()
public ASN1OctetString getContent()
public DERObject toASN1Object()
toASN1Object
in class ASN1Encodable
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.