| Constructor and Description |
|---|
CMSAuthenticatedData(byte[] authData) |
CMSAuthenticatedData(byte[] authData,
DigestCalculatorProvider digestCalculatorProvider) |
CMSAuthenticatedData(ContentInfo contentInfo) |
CMSAuthenticatedData(ContentInfo contentInfo,
DigestCalculatorProvider digestCalculatorProvider) |
CMSAuthenticatedData(InputStream authData) |
CMSAuthenticatedData(InputStream authData,
DigestCalculatorProvider digestCalculatorProvider) |
| Modifier and Type | Method and Description |
|---|---|
AttributeTable |
getAuthAttrs()
return a table of the digested attributes indexed by
the OID of the attribute.
|
byte[] |
getContentDigest() |
ContentInfo |
getContentInfo()
Deprecated.
use toASN1Structure()
|
byte[] |
getEncoded()
return the ASN.1 encoded representation of this object.
|
byte[] |
getMac() |
String |
getMacAlgOID()
return the object identifier for the content MAC algorithm.
|
AlgorithmIdentifier |
getMacAlgorithm()
Return the MAC algorithm details for the MAC associated with the data in this object.
|
byte[] |
getMacAlgParams()
return the ASN.1 encoded MAC algorithm parameters, or null if
there aren't any.
|
OriginatorInformation |
getOriginatorInfo()
Return the originator information associated with this message if present.
|
RecipientInformationStore |
getRecipientInfos()
return a store of the intended recipients for this message
|
AttributeTable |
getUnauthAttrs()
return a table of the undigested attributes indexed by
the OID of the attribute.
|
ContentInfo |
toASN1Structure()
return the ContentInfo
|
public CMSAuthenticatedData(byte[] authData)
throws CMSException
CMSExceptionpublic CMSAuthenticatedData(byte[] authData,
DigestCalculatorProvider digestCalculatorProvider)
throws CMSException
CMSExceptionpublic CMSAuthenticatedData(InputStream authData) throws CMSException
CMSExceptionpublic CMSAuthenticatedData(InputStream authData, DigestCalculatorProvider digestCalculatorProvider) throws CMSException
CMSExceptionpublic CMSAuthenticatedData(ContentInfo contentInfo) throws CMSException
CMSExceptionpublic CMSAuthenticatedData(ContentInfo contentInfo, DigestCalculatorProvider digestCalculatorProvider) throws CMSException
CMSExceptionpublic OriginatorInformation getOriginatorInfo()
public byte[] getMac()
public AlgorithmIdentifier getMacAlgorithm()
public String getMacAlgOID()
public byte[] getMacAlgParams()
public RecipientInformationStore getRecipientInfos()
public ContentInfo getContentInfo()
public ContentInfo toASN1Structure()
public AttributeTable getAuthAttrs()
public AttributeTable getUnauthAttrs()
public byte[] getEncoded()
throws IOException
getEncoded in interface EncodableIOException - if an issue arises generation the encoding.public byte[] getContentDigest()
Copyright © 2015–2021 The veraPDF Consortium. All rights reserved.