Class KeyFactorySpi

    • Constructor Detail

      • KeyFactorySpi

        public KeyFactorySpi()
    • Method Detail

      • engineGeneratePrivate

        protected java.security.PrivateKey engineGeneratePrivate​(java.security.spec.KeySpec keySpec)
                                                          throws java.security.spec.InvalidKeySpecException
        Overrides:
        engineGeneratePrivate in class BaseKeyFactorySpi
        Throws:
        java.security.spec.InvalidKeySpecException
      • engineGeneratePublic

        protected java.security.PublicKey engineGeneratePublic​(java.security.spec.KeySpec keySpec)
                                                        throws java.security.spec.InvalidKeySpecException
        Overrides:
        engineGeneratePublic in class BaseKeyFactorySpi
        Throws:
        java.security.spec.InvalidKeySpecException
      • engineGetKeySpec

        protected java.security.spec.KeySpec engineGetKeySpec​(java.security.Key key,
                                                              java.lang.Class spec)
                                                       throws java.security.spec.InvalidKeySpecException
        Overrides:
        engineGetKeySpec in class BaseKeyFactorySpi
        Throws:
        java.security.spec.InvalidKeySpecException
      • engineTranslateKey

        protected java.security.Key engineTranslateKey​(java.security.Key key)
                                                throws java.security.InvalidKeyException
        Specified by:
        engineTranslateKey in class java.security.KeyFactorySpi
        Throws:
        java.security.InvalidKeyException
      • generatePrivate

        public java.security.PrivateKey generatePrivate​(PrivateKeyInfo info)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • generatePublic

        public java.security.PublicKey generatePublic​(SubjectPublicKeyInfo info)
                                               throws java.io.IOException
        Throws:
        java.io.IOException