public class EncryptedData
extends ASN1Object
EncryptedData ::= SEQUENCE { version CMSVersion, encryptedContentInfo EncryptedContentInfo, unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL }
| Constructor and Description |
|---|
EncryptedData(EncryptedContentInfo encInfo) |
EncryptedData(EncryptedContentInfo encInfo,
ASN1Set unprotectedAttrs) |
| Modifier and Type | Method and Description |
|---|---|
EncryptedContentInfo |
getEncryptedContentInfo() |
static EncryptedData |
getInstance(java.lang.Object o)
Return an EncryptedData object from the given object.
|
ASN1Set |
getUnprotectedAttrs() |
ASN1Integer |
getVersion() |
ASN1Primitive |
toASN1Primitive() |
public EncryptedData(EncryptedContentInfo encInfo)
public EncryptedData(EncryptedContentInfo encInfo, ASN1Set unprotectedAttrs)
public static EncryptedData getInstance(java.lang.Object o)
Accepted inputs:
null → null
EncryptedData object
ASN1Sequence input formats
o - the object we want converted.java.lang.IllegalArgumentException - if the object cannot be converted.public ASN1Integer getVersion()
public EncryptedContentInfo getEncryptedContentInfo()
public ASN1Set getUnprotectedAttrs()
public ASN1Primitive toASN1Primitive()