|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISignatureCreationAlgorithm
This interface represents an algorithm that creates cryptographic signatures.
| Method Summary | |
|---|---|
byte[] |
encodeForXMLSignature(byte[] a_signature)
Encodes a signature in a way it meets the W3C standard for XML signature values. |
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. |
| Method Detail |
|---|
byte[] sign(byte[] a_message)
a_message - a message
byte[] encodeForXMLSignature(byte[] a_signature)
a_signature - an non-encoded signature
http://www.w3.org/TR/xmldsig-core/#sec-SignatureAlgorg.bouncycastle.asn1.x509.AlgorithmIdentifier getIdentifier()
java.lang.String getXMLSignatureAlgorithmReference()
http://www.w3.org/TR/xmldsig-core/#sec-AlgID
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||