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 RSAKeyFactoryvalueOf(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:
NoSuchAlgorithmExceptionorg.bouncycastle.operator.OperatorCreationExceptionCertificateExceptionorg.bouncycastle.cert.CertIOExceptionSignatureException
-
RSAKeyFactory
Deprecated.- Parameters:
pKey-
-
-
Method Details
-
valueOf
Deprecated. -
getPrivateKey
Deprecated.- Specified by:
getPrivateKeyin classKeyFactory<RSAPrivateKey,RSAPublicKey>
-
getPublicKey
Deprecated.- Specified by:
getPublicKeyin classKeyFactory<RSAPrivateKey,RSAPublicKey>
-
getCertificate
Deprecated.- Specified by:
getCertificatein classKeyFactory<RSAPrivateKey,RSAPublicKey>
-