|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxades4j.providers.impl.DefaultAlgorithmsProvider
public class DefaultAlgorithmsProvider
The default implementation of AlgorithmsProvider. The defaults
are:
| Constructor Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultAlgorithmsProvider()
| Method Detail |
|---|
public String getSignatureAlgorithm(String keyAlgorithmName)
throws UnsupportedAlgorithmException
AlgorithmsProvider
getSignatureAlgorithm in interface AlgorithmsProviderkeyAlgorithmName - the signing key's algorithm name as defined in JCA standard algorithm names
UnsupportedAlgorithmExceptionpublic String getCanonicalizationAlgorithmForSignature()
AlgorithmsProviderSignature.
getCanonicalizationAlgorithmForSignature in interface AlgorithmsProviderpublic String getCanonicalizationAlgorithmForTimeStampProperties()
AlgorithmsProvider
getCanonicalizationAlgorithmForTimeStampProperties in interface AlgorithmsProviderpublic String getDigestAlgorithmForDataObjsReferences()
AlgorithmsProviderReferences.
getDigestAlgorithmForDataObjsReferences in interface AlgorithmsProviderpublic String getDigestAlgorithmForReferenceProperties()
AlgorithmsProvider
getDigestAlgorithmForReferenceProperties in interface AlgorithmsProviderpublic String getDigestAlgorithmForTimeStampProperties()
AlgorithmsProvider
getDigestAlgorithmForTimeStampProperties in interface AlgorithmsProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||