public class PrivateKeySignatureFactory extends Object
| Constructor and Description |
|---|
PrivateKeySignatureFactory(KeyFactory RSAKeyFactory) |
| Modifier and Type | Method and Description |
|---|---|
RSAPrivateCrtKey |
makePrivateKey(RSAKeyPair jwk)
Returns a, RSAPrivateCrtKey, which is built from the input parameter, jwk.
|
Signature |
makeSignature(SignAlgorithm alg,
RSAKeyPair jwk) |
public PrivateKeySignatureFactory(KeyFactory RSAKeyFactory)
public RSAPrivateCrtKey makePrivateKey(RSAKeyPair jwk) throws PrivateKeyException
jwk - PrivateKeyExceptionpublic Signature makeSignature(SignAlgorithm alg, RSAKeyPair jwk) throws PrivateKeyException, InvalidAlgorithmException, RSAPrivateKeyException
Copyright © 2017. All rights reserved.