|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SignatureVerifier
This abstract class is the wrapper for the cryptographic functionality required to validate digital signatures.
Note that this somewhat duplicates the other interface, issrg.security.Verifier. This double wrapping allows to integrate the signature verification at different levels. SignatureVerifier interface has smaller demands, e.g. it does not require the underlying implementation to have access to the actual Verification Certificates, whilst the issrg.security.Verifier requires the implementation to be able to provide the signature verification certificates. The Verifier interface is more generic, but may be harder to implement.
Method Summary | |
---|---|
boolean |
checkSignature(byte[] Value,
byte[] Signature,
java.lang.String algorithmID,
TokenLocator Signer)
This method checks if the Signature for the given Value has been created by the Signer. |
Method Detail |
---|
boolean checkSignature(byte[] Value, byte[] Signature, java.lang.String algorithmID, TokenLocator Signer) throws PkiException
Value
- is the byte array that had been signedSignature
- is the byte array of the resulting signaturealgorithmID
- is the String representation (dotted form) of the
object identifier of the algorithm used for signingSigner
- is the TokenLocator of the signer
PkiException
- if any unrecoverable error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |