public class EncryptedData extends ASN1Encodable
Modifier and Type | Field and Description |
---|---|
private EncryptedContentInfo |
encryptedContentInfo |
private ASN1Set |
unprotectedAttrs |
private DERInteger |
version |
BER, DER
Modifier | Constructor and Description |
---|---|
private |
EncryptedData(ASN1Sequence seq) |
|
EncryptedData(EncryptedContentInfo encInfo) |
|
EncryptedData(EncryptedContentInfo encInfo,
ASN1Set unprotectedAttrs) |
Modifier and Type | Method and Description |
---|---|
EncryptedContentInfo |
getEncryptedContentInfo() |
static EncryptedData |
getInstance(java.lang.Object o) |
ASN1Set |
getUnprotectedAttrs() |
DERInteger |
getVersion() |
DERObject |
toASN1Object()
EncryptedData ::= SEQUENCE {
version CMSVersion,
encryptedContentInfo EncryptedContentInfo,
unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL }
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
private DERInteger version
private EncryptedContentInfo encryptedContentInfo
private ASN1Set unprotectedAttrs
public EncryptedData(EncryptedContentInfo encInfo)
public EncryptedData(EncryptedContentInfo encInfo, ASN1Set unprotectedAttrs)
private EncryptedData(ASN1Sequence seq)
public static EncryptedData getInstance(java.lang.Object o)
public DERInteger getVersion()
public EncryptedContentInfo getEncryptedContentInfo()
public ASN1Set getUnprotectedAttrs()
public DERObject toASN1Object()
EncryptedData ::= SEQUENCE { version CMSVersion, encryptedContentInfo EncryptedContentInfo, unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL }
toASN1Object
in class ASN1Encodable
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.