|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsdsi.util.SignatureUtils
Experimental class and as such may be removed without warning.
Utility class for Signatures.
Method Summary | |
static java.security.MessageDigest |
getDigesterForJdkSignature(java.lang.String jdkSignatureAlgo)
Returns the MessageDigester for a JDK Signature algorythm |
static java.security.Signature |
getJdkSignature(java.lang.String jdkSignatureAlgo)
Return a java.security.Signature. |
static java.security.Signature |
getJdkSignature(java.lang.String jdkSignatureAlgo,
java.lang.String provider)
Return a java.security.Signature. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.security.Signature getJdkSignature(java.lang.String jdkSignatureAlgo)
Algorithms
:
Algorithms.jdkSignatureName(DigestAlgoEnum.XXX, KeyEnum.XXX)
jdkSignatureAlgo
- signature algorythm required in JDK format
JsdsiRuntimeException
- on errorpublic static java.security.Signature getJdkSignature(java.lang.String jdkSignatureAlgo, java.lang.String provider)
Algorithms
:
Algorithms.jdkSignatureName(DigestAlgoEnum.XXX, KeyEnum.XXX)
jdkSignatureAlgo
- signature algorythm required in JDK formatprovider
- the Provider to use
JsdsiRuntimeException
- on errorpublic static java.security.MessageDigest getDigesterForJdkSignature(java.lang.String jdkSignatureAlgo)
jdkSignatureAlgo
- the Signature algorythm in JDK format
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |