com.ibm.crypto.fips.provider

Class TlsKeyMaterialGenerator

  • java.lang.Object
    • javax.crypto.KeyGeneratorSpi
      • com.ibm.crypto.fips.provider.TlsKeyMaterialGenerator


  • public final class TlsKeyMaterialGenerator
    extends javax.crypto.KeyGeneratorSpi
    KeyGenerator implementation for the SSL/TLS master secret derivation.
    Since:
    1.6
    • Constructor Summary

      Constructors 
      Constructor and Description
      TlsKeyMaterialGenerator()
      Verify the JCE framework in the constructor.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      protected javax.crypto.SecretKey engineGenerateKey() 
      protected void engineInit(java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random) 
      protected void engineInit(int keysize, java.security.SecureRandom random) 
      protected void engineInit(java.security.SecureRandom random) 
      • Methods inherited from class java.lang.Object

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

      • TlsKeyMaterialGenerator

        public TlsKeyMaterialGenerator()
        Verify the JCE framework in the constructor.
        Throws:
        java.lang.SecurityException - if fails to verify the JCE framework.
    • Method Detail

      • engineInit

        protected void engineInit(java.security.SecureRandom random)
        Specified by:
        engineInit in class javax.crypto.KeyGeneratorSpi
      • engineInit

        protected void engineInit(java.security.spec.AlgorithmParameterSpec params,
                      java.security.SecureRandom random)
                           throws java.security.InvalidAlgorithmParameterException
        Specified by:
        engineInit in class javax.crypto.KeyGeneratorSpi
        Throws:
        java.security.InvalidAlgorithmParameterException
      • engineInit

        protected void engineInit(int keysize,
                      java.security.SecureRandom random)
        Specified by:
        engineInit in class javax.crypto.KeyGeneratorSpi
      • engineGenerateKey

        protected javax.crypto.SecretKey engineGenerateKey()
        Specified by:
        engineGenerateKey in class javax.crypto.KeyGeneratorSpi
© Portions Copyright 2003, 2014, 2015, 2016 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2014 Oracle and/or its affiliates. All rights reserved.