Class RSAKeyFactory
java.lang.Object
io.jans.as.model.crypto.KeyFactory<RSAPrivateKey,RSAPublicKey>
io.jans.as.model.crypto.signature.RSAKeyFactory
Deprecated.
Factory to create asymmetric Public and Private Keys for the RSA algorithm
- Version:
- June 15, 2016
- Author:
- Javier Rojas Blum
-
Field Summary
FieldsFields inherited from class io.jans.as.model.crypto.KeyFactory
certificate, keyPair, signatureAlgorithm
-
Constructor Summary
ConstructorsConstructorDescriptionRSAKeyFactory
(SignatureAlgorithm signatureAlgorithm, String dnName) Deprecated.RSAKeyFactory
(JSONWebKey pKey) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.static RSAKeyFactory
valueOf
(JSONWebKey pKey) Deprecated.Methods inherited from class io.jans.as.model.crypto.KeyFactory
generateV3Certificate, getKey
-
Field Details
-
DEF_KEYLENGTH
public static final int DEF_KEYLENGTHDeprecated.- See Also:
-
-
Constructor Details
-
RSAKeyFactory
@Deprecated public RSAKeyFactory(SignatureAlgorithm signatureAlgorithm, String dnName) throws NoSuchAlgorithmException, org.bouncycastle.operator.OperatorCreationException, CertificateException, org.bouncycastle.cert.CertIOException, SignatureException Deprecated.- Parameters:
signatureAlgorithm
-dnName
-- Throws:
NoSuchAlgorithmException
org.bouncycastle.operator.OperatorCreationException
CertificateException
org.bouncycastle.cert.CertIOException
SignatureException
-
RSAKeyFactory
Deprecated.- Parameters:
pKey
-
-
-
Method Details
-
valueOf
Deprecated. -
getPrivateKey
Deprecated.- Specified by:
getPrivateKey
in classKeyFactory<RSAPrivateKey,
RSAPublicKey>
-
getPublicKey
Deprecated.- Specified by:
getPublicKey
in classKeyFactory<RSAPrivateKey,
RSAPublicKey>
-
getCertificate
Deprecated.- Specified by:
getCertificate
in classKeyFactory<RSAPrivateKey,
RSAPublicKey>
-