com.pheox.jcapi
Class JCAPISignature.SHA256withRSA
java.lang.Object
java.security.SignatureSpi
com.pheox.jcapi.JCAPISignature
com.pheox.jcapi.JCAPISignature.SHA256withRSA
- Enclosing class:
- JCAPISignature
public static final class JCAPISignature.SHA256withRSA
- extends JCAPISignature
The SHA-256 hashing class used for defining SHA256withRSA in signatures.
An instance of this class must be created by the JCE framework only.
This class uses the default MS CAPI RSA CSP (see method JCAPIProperties.getRSACSP())
and the provider type of the default MS CAPI RSA CSP (see method
JCAPIProperties.getCachedProviderTypeByCSP(String)).
Here is how to create a SHA-256/RSA based JCAPI signature instance through
the JCE framework:
Signature s = Signature.getInstance("SHA256withRSA", "JCAPI");
To learn more about how signatures can be used, please look at the following example
programs that can be found in JCAPI's examples directory, by default located in
C:\<application data directory>\JCAPI\examples:
cryptofactory\signature\DynamicSignatureDSA.java
cryptofactory\signature\DynamicSignatureRSA.java
signature\SignatureDSA.java
signature\SignatureRSA.java
- Since:
- 2.0
| Fields inherited from class java.security.SignatureSpi |
appRandom |
| Methods inherited from class java.security.SignatureSpi |
clone, engineGetParameters, engineInitSign, engineSetParameter, engineUpdate |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JCAPISignature.SHA256withRSA
public JCAPISignature.SHA256withRSA()
- Default constructor.
- Since:
- 2.0
Copyright © 2011 Pheox. All Rights Reserved.