Class KEMParameterSpec

  • All Implemented Interfaces:
    java.security.spec.AlgorithmParameterSpec

    public class KEMParameterSpec
    extends java.lang.Object
    implements java.security.spec.AlgorithmParameterSpec
    • Constructor Summary

      Constructors 
      Constructor Description
      KEMParameterSpec​(java.lang.String keyAlgorithmName)  
      KEMParameterSpec​(java.lang.String keyAlgorithmName, int keySizeInBits)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKeyAlgorithmName()
      Return the name of the symmetric key algorithm for the key returned by this KEM.
      int getKeySizeInBits()
      Return the key size in bits if specified, -1 indicates no preference.
      • Methods inherited from class java.lang.Object

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

      • KEMParameterSpec

        public KEMParameterSpec​(java.lang.String keyAlgorithmName)
      • KEMParameterSpec

        public KEMParameterSpec​(java.lang.String keyAlgorithmName,
                                int keySizeInBits)
    • Method Detail

      • getKeyAlgorithmName

        public java.lang.String getKeyAlgorithmName()
        Return the name of the symmetric key algorithm for the key returned by this KEM.
        Returns:
        key algorithm name.
      • getKeySizeInBits

        public int getKeySizeInBits()
        Return the key size in bits if specified, -1 indicates no preference.
        Returns:
        key size, or -1.