com.ibm.crypto.fips.provider

Class ECKeyFactory

  • java.lang.Object
    • java.security.KeyFactorySpi
      • com.ibm.crypto.fips.provider.ECKeyFactory


  • public final class ECKeyFactory
    extends java.security.KeyFactorySpi
    • Constructor Summary

      Constructors 
      Constructor and Description
      ECKeyFactory() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      protected java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec keySpec) 
      protected java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec keySpec) 
      protected <T extends java.security.spec.KeySpec> 
      T
      engineGetKeySpec(java.security.Key key, java.lang.Class<T> keySpec) 
      protected java.security.Key engineTranslateKey(java.security.Key key) 
      protected java.security.PrivateKey internalGeneratePrivate(java.security.spec.KeySpec keySpec) 
      protected java.security.PublicKey internalGeneratePublic(java.security.spec.KeySpec keySpec) 
      protected <T extends java.security.spec.KeySpec> 
      T
      internalGetKeySpec(java.security.Key key, java.lang.Class<T> keySpec) 
      protected java.security.Key internalTranslateKey(java.security.Key key) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ECKeyFactory

        public ECKeyFactory()
    • Method Detail

      • engineGeneratePrivate

        protected java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec keySpec)
                                                          throws java.security.spec.InvalidKeySpecException
        Specified by:
        engineGeneratePrivate in class java.security.KeyFactorySpi
        Throws:
        java.security.spec.InvalidKeySpecException
      • internalGeneratePrivate

        protected java.security.PrivateKey internalGeneratePrivate(java.security.spec.KeySpec keySpec)
                                                            throws java.security.spec.InvalidKeySpecException
        Throws:
        java.security.spec.InvalidKeySpecException
      • engineGeneratePublic

        protected java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec keySpec)
                                                        throws java.security.spec.InvalidKeySpecException
        Specified by:
        engineGeneratePublic in class java.security.KeyFactorySpi
        Throws:
        java.security.spec.InvalidKeySpecException
      • internalGeneratePublic

        protected java.security.PublicKey internalGeneratePublic(java.security.spec.KeySpec keySpec)
                                                          throws java.security.spec.InvalidKeySpecException
        Throws:
        java.security.spec.InvalidKeySpecException
      • engineGetKeySpec

        protected <T extends java.security.spec.KeySpec> T engineGetKeySpec(java.security.Key key,
                                                                java.lang.Class<T> keySpec)
                                                                 throws java.security.spec.InvalidKeySpecException
        Specified by:
        engineGetKeySpec in class java.security.KeyFactorySpi
        Throws:
        java.security.spec.InvalidKeySpecException
      • internalGetKeySpec

        protected <T extends java.security.spec.KeySpec> T internalGetKeySpec(java.security.Key key,
                                                                  java.lang.Class<T> keySpec)
                                                                   throws java.security.spec.InvalidKeySpecException
        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
      • internalTranslateKey

        protected java.security.Key internalTranslateKey(java.security.Key key)
                                                  throws java.security.InvalidKeyException
        Throws:
        java.security.InvalidKeyException
© Portions Copyright 2003, 2014, 2015, 2016 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2014 Oracle and/or its affiliates. All rights reserved.