| Constructor and Description |
|---|
CMSDigestedData(byte[] compressedData) |
CMSDigestedData(ContentInfo contentInfo) |
CMSDigestedData(InputStream compressedData) |
| Modifier and Type | Method and Description |
|---|---|
ASN1ObjectIdentifier |
getContentType() |
AlgorithmIdentifier |
getDigestAlgorithm() |
CMSProcessable |
getDigestedContent()
Return the digested content
|
byte[] |
getEncoded()
return the ASN.1 encoded representation of this object.
|
ContentInfo |
toASN1Structure()
return the ContentInfo
|
boolean |
verify(DigestCalculatorProvider calculatorProvider) |
public CMSDigestedData(byte[] compressedData)
throws CMSException
CMSExceptionpublic CMSDigestedData(InputStream compressedData) throws CMSException
CMSExceptionpublic CMSDigestedData(ContentInfo contentInfo) throws CMSException
CMSExceptionpublic ASN1ObjectIdentifier getContentType()
public AlgorithmIdentifier getDigestAlgorithm()
public CMSProcessable getDigestedContent() throws CMSException
CMSException - if there is an exception un-compressing the data.public ContentInfo toASN1Structure()
public byte[] getEncoded()
throws IOException
getEncoded in interface EncodableIOException - if an issue arises generation the encoding.public boolean verify(DigestCalculatorProvider calculatorProvider) throws CMSException
CMSExceptionCopyright © 2015–2019 The veraPDF Consortium. All rights reserved.