Class RSAKeyFactory


  • @Deprecated
    public class RSAKeyFactory
    extends KeyFactory<RSAPrivateKey,​RSAPublicKey>
    Deprecated.
    Used for Tests
    Factory to create asymmetric Public and Private Keys for the RSA algorithm
    Version:
    June 15, 2016
    Author:
    Javier Rojas Blum
    • Constructor Detail

      • RSAKeyFactory

        @Deprecated
        public RSAKeyFactory​(SignatureAlgorithm signatureAlgorithm,
                             java.lang.String dnName)
                      throws java.security.InvalidParameterException,
                             java.security.NoSuchProviderException,
                             java.security.NoSuchAlgorithmException,
                             java.security.SignatureException,
                             java.security.InvalidKeyException,
                             java.security.cert.CertificateEncodingException
        Deprecated.
        Throws:
        java.security.InvalidParameterException
        java.security.NoSuchProviderException
        java.security.NoSuchAlgorithmException
        java.security.SignatureException
        java.security.InvalidKeyException
        java.security.cert.CertificateEncodingException
      • RSAKeyFactory

        @Deprecated
        public RSAKeyFactory​(JSONWebKey key)
        Deprecated.