public class SignedData extends ASN1Encodable
| Modifier and Type | Field and Description |
|---|---|
private ASN1Set |
certificates |
private boolean |
certsBer |
private ContentInfo |
contentInfo |
private ASN1Set |
crls |
private boolean |
crlsBer |
private ASN1Set |
digestAlgorithms |
private ASN1Set |
signerInfos |
private DERInteger |
version |
BER, DER| Constructor and Description |
|---|
SignedData(ASN1Sequence seq) |
SignedData(ASN1Set digestAlgorithms,
ContentInfo contentInfo,
ASN1Set certificates,
ASN1Set crls,
ASN1Set signerInfos) |
| Modifier and Type | Method and Description |
|---|---|
private DERInteger |
calculateVersion(DERObjectIdentifier contentOid,
ASN1Set certs,
ASN1Set crls,
ASN1Set signerInfs) |
private boolean |
checkForVersion3(ASN1Set signerInfs) |
ASN1Set |
getCertificates() |
ASN1Set |
getCRLs() |
ASN1Set |
getDigestAlgorithms() |
ContentInfo |
getEncapContentInfo() |
static SignedData |
getInstance(java.lang.Object o) |
ASN1Set |
getSignerInfos() |
DERInteger |
getVersion() |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodeprivate DERInteger version
private ASN1Set digestAlgorithms
private ContentInfo contentInfo
private ASN1Set certificates
private ASN1Set crls
private ASN1Set signerInfos
private boolean certsBer
private boolean crlsBer
public SignedData(ASN1Set digestAlgorithms, ContentInfo contentInfo, ASN1Set certificates, ASN1Set crls, ASN1Set signerInfos)
public SignedData(ASN1Sequence seq)
public static SignedData getInstance(java.lang.Object o)
private DERInteger calculateVersion(DERObjectIdentifier contentOid, ASN1Set certs, ASN1Set crls, ASN1Set signerInfs)
private boolean checkForVersion3(ASN1Set signerInfs)
public DERInteger getVersion()
public ASN1Set getDigestAlgorithms()
public ContentInfo getEncapContentInfo()
public ASN1Set getCertificates()
public ASN1Set getCRLs()
public ASN1Set getSignerInfos()
public DERObject toASN1Object()
SignedData ::= SEQUENCE {
version CMSVersion,
digestAlgorithms DigestAlgorithmIdentifiers,
encapContentInfo EncapsulatedContentInfo,
certificates [0] IMPLICIT CertificateSet OPTIONAL,
crls [1] IMPLICIT CertificateRevocationLists OPTIONAL,
signerInfos SignerInfos
}
toASN1Object in class ASN1EncodableCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.