public interface ISignatureVerificationAlgorithm
Modifier and Type | Method and Description |
---|---|
byte[] |
decodeForXMLSignature(byte[] a_encodedSignature)
Tries to decode a signature in a way as it would meet the W3C standard for XML
signature values.
|
mybouncycastle.org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getIdentifier() |
java.lang.String |
getXMLSignatureAlgorithmReference()
Returns a description of the the signature algorithm for XML signatures as defined in
http://www.w3.org/TR/xmldsig-core/#sec-AlgID.
|
boolean |
verify(byte[] a_message,
byte[] a_signature)
Tests if the signature of a specified message is valid.
|
boolean |
verify(byte[] a_message,
int message_offset,
int message_len,
byte[] a_signature,
int signature_offset,
int signature_len)
Tests if the signature of a specified message is valid.
|
boolean verify(byte[] a_message, byte[] a_signature)
a_message
- a messagea_signature
- a signatureboolean verify(byte[] a_message, int message_offset, int message_len, byte[] a_signature, int signature_offset, int signature_len)
a_message
- a messagemessage_offset
- start of messagemessage_len
- length of messagea_signature
- a signaturesignature_offset
- start of signaturesignature_len
- length of signaturebyte[] decodeForXMLSignature(byte[] a_encodedSignature)
a_encodedSignature
- an encoded signaturehttp://www.w3.org/TR/xmldsig-core/#sec-SignatureAlg
java.lang.String getXMLSignatureAlgorithmReference()
http://www.w3.org/TR/xmldsig-core/#sec-AlgID
mybouncycastle.org.bouncycastle.asn1.x509.AlgorithmIdentifier getIdentifier()
Copyright © 2023. All rights reserved.