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
CMSException
public CMSDigestedData(InputStream compressedData) throws CMSException
CMSException
public CMSDigestedData(ContentInfo contentInfo) throws CMSException
CMSException
public 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 Encodable
IOException
- if an issue arises generation the encoding.public boolean verify(DigestCalculatorProvider calculatorProvider) throws CMSException
CMSException
Copyright © 2018 BouncyCastle.org. All rights reserved.