public interface ISignatureCreationAlgorithm
Modifier and Type | Method and Description |
---|---|
byte[] |
encodeForXMLSignature(byte[] a_signature)
Encodes a signature in a way it meets the W3C standard for XML signature values.
|
mybouncycastle.org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getIdentifier()
Returns the algorithm identifier.
|
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.
|
byte[] |
sign(byte[] a_message)
Signs a message and returns the signature.
|
byte[] sign(byte[] a_message)
a_message
- a messagebyte[] encodeForXMLSignature(byte[] a_signature)
a_signature
- an non-encoded signaturehttp://www.w3.org/TR/xmldsig-core/#sec-SignatureAlg
mybouncycastle.org.bouncycastle.asn1.x509.AlgorithmIdentifier getIdentifier()
java.lang.String getXMLSignatureAlgorithmReference()
http://www.w3.org/TR/xmldsig-core/#sec-AlgID
Copyright © 2023. All rights reserved.