Class KTSParameterSpec

  • All Implemented Interfaces:
    java.security.spec.AlgorithmParameterSpec
    Direct Known Subclasses:
    KEMParameterSpec

    public class KTSParameterSpec
    extends KEMKDFSpec
    implements java.security.spec.AlgorithmParameterSpec
    Parameter spec for doing KTS based wrapping via the Cipher API.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  KTSParameterSpec.Builder
      Builder class for creating a KTSParameterSpec.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected KTSParameterSpec​(java.lang.String wrappingKeyAlgorithm, int keySizeInBits, java.security.spec.AlgorithmParameterSpec parameterSpec, AlgorithmIdentifier kdfAlgorithm, byte[] otherInfo)  
    • Constructor Detail

      • KTSParameterSpec

        protected KTSParameterSpec​(java.lang.String wrappingKeyAlgorithm,
                                   int keySizeInBits,
                                   java.security.spec.AlgorithmParameterSpec parameterSpec,
                                   AlgorithmIdentifier kdfAlgorithm,
                                   byte[] otherInfo)
    • Method Detail

      • getParameterSpec

        public java.security.spec.AlgorithmParameterSpec getParameterSpec()
        Return the algorithm parameter spec to be applied with the private key when the encapsulation is decrypted.
        Returns:
        the algorithm parameter spec to be used with the private key.