public interface ContentVerifier
Modifier and Type | Method and Description |
---|---|
AlgorithmIdentifier |
getAlgorithmIdentifier()
Return the algorithm identifier describing the signature
algorithm and parameters this expander supports.
|
OutputStream |
getOutputStream()
Returns a stream that will accept data for the purpose of calculating
a signature for later verification.
|
boolean |
verify(byte[] expected) |
AlgorithmIdentifier getAlgorithmIdentifier()
OutputStream getOutputStream()
boolean verify(byte[] expected)
expected
- expected value of the signature on the data.Copyright © 2015. All rights reserved.