|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AlgorithmsProvider
Interface for providers of the algorithms used in the signature generation.
An instance of a class implementing this interface is supplied to the signer
which will query the instance whenever he needs an algorithm information (when
generating ds:Reference elements, for instance).
The methods on this classes must not return null.
This allows the customization of the different algotihms used in the signature. A default implementation is provided.
DefaultAlgorithmsProvider| Method Summary | |
|---|---|
String |
getCanonicalizationAlgorithmForSignature()
Gets the canonicalization algorithm to be used in the Signature. |
String |
getCanonicalizationAlgorithmForTimeStampProperties()
Gets the canonicalization algorithm to be used in the qualifying properties, when needed. |
String |
getDigestAlgorithmForDataObjsReferences()
Gets the digest algorithm to be used in the data object References. |
String |
getDigestAlgorithmForReferenceProperties()
Gets the digest algorithm to be used in the qualifying properties that contain references to certificates, CRLs and so on. |
String |
getDigestAlgorithmForTimeStampProperties()
Gets the digest algorithm to be used in the qualifying properties that contain time-stamps |
String |
getSignatureAlgorithm(String keyAlgorithmName)
Gets the signature's algorithm for the given algorithm name. |
| Method Detail |
|---|
String getSignatureAlgorithm(String keyAlgorithmName)
throws UnsupportedAlgorithmException
keyAlgorithmName - the signing key's algorithm name as defined in JCA standard algorithm names
UnsupportedAlgorithmExceptionString getCanonicalizationAlgorithmForSignature()
Signature.
String getCanonicalizationAlgorithmForTimeStampProperties()
String getDigestAlgorithmForDataObjsReferences()
References.
String getDigestAlgorithmForReferenceProperties()
String getDigestAlgorithmForTimeStampProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||