Class KTSParameterSpec

java.lang.Object
org.bouncycastle.pqc.jcajce.spec.KEMKDFSpec
org.bouncycastle.pqc.jcajce.spec.KTSParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec

public class KTSParameterSpec extends KEMKDFSpec implements AlgorithmParameterSpec
Parameter spec for doing KTS based wrapping via the Cipher API.
  • Constructor Details

    • KTSParameterSpec

      protected KTSParameterSpec(String wrappingKeyAlgorithm, int keySizeInBits, AlgorithmParameterSpec parameterSpec, org.bouncycastle.asn1.x509.AlgorithmIdentifier kdfAlgorithm, byte[] otherInfo)
  • Method Details

    • getParameterSpec

      public 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.