public class SignedData extends Asn1SequenceType
SignedData ::= SEQUENCE {
version CMSVersion,
digestAlgorithms DigestAlgorithmIdentifiers,
encapContentInfo EncapsulatedContentInfo,
certificates [0] IMPLICIT CertificateSet OPTIONAL,
crls [1] IMPLICIT RevocationInfoChoices OPTIONAL,
signerInfos SignerInfos
}
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SignedData.SignedDataField |
Asn1Type.EncodingType| Constructor and Description |
|---|
SignedData() |
| Modifier and Type | Method and Description |
|---|---|
CertificateSet |
getCertificates() |
RevocationInfoChoices |
getCrls() |
DigestAlgorithmIdentifiers |
getDigestAlgorithms() |
EncapsulatedContentInfo |
getEncapContentInfo() |
SignerInfos |
getSignerInfos() |
int |
getVersion() |
boolean |
isSigned()
Check whether signed of data, true if the SignerInfos are not null
|
void |
setCertificates(CertificateSet certificates) |
void |
setCrls(RevocationInfoChoices crls) |
void |
setDigestAlgorithms(DigestAlgorithmIdentifiers digestAlgorithms) |
void |
setEncapContentInfo(EncapsulatedContentInfo contentInfo) |
void |
setSignerInfos(SignerInfos signerInfos) |
void |
setVersion(int version) |
createCollectiondecodeBody, dumpWith, encodeBody, encodingBodyLength, getFieldAs, getFieldAsAny, getFieldAsInteger, getFieldAsObjId, getFieldAsOctets, getFieldAsString, setAnyFieldValueType, setFieldAs, setFieldAsAny, setFieldAsInt, setFieldAsInt, setFieldAsObjId, setFieldAsOctetsgetValue, setValue, toStringdecode, decode, decode, encode, encode, encodingHeaderLength, encodingLength, getBodyLength, getHeaderLength, isBER, isCER, isDefinitiveLength, isDER, isImplicit, isPrimitive, taggedDecode, taggedDecode, taggedDecode, taggedEncode, taggedEncode, taggedEncodingLength, useBER, useCER, useDefinitiveLength, useDER, useImplicit, usePrimitiveisAppSpecific, isCollection, isContextSpecific, isEOC, isNull, isSimple, isTagSpecific, isUniversal, simpleInfo, tag, tagFlags, tagNopublic int getVersion()
public void setVersion(int version)
public DigestAlgorithmIdentifiers getDigestAlgorithms()
public void setDigestAlgorithms(DigestAlgorithmIdentifiers digestAlgorithms)
public EncapsulatedContentInfo getEncapContentInfo()
public void setEncapContentInfo(EncapsulatedContentInfo contentInfo)
public CertificateSet getCertificates()
public void setCertificates(CertificateSet certificates)
public RevocationInfoChoices getCrls()
public void setCrls(RevocationInfoChoices crls)
public SignerInfos getSignerInfos()
public void setSignerInfos(SignerInfos signerInfos)
public boolean isSigned()
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.