Class KTSGenerateKeySpec

java.lang.Object
org.bouncycastle.jcajce.spec.KTSKeySpec
org.bouncycastle.jcajce.spec.KTSGenerateKeySpec
All Implemented Interfaces:
KeySpec

public class KTSGenerateKeySpec extends KTSKeySpec
KeySpec for use with secret key generation with a SecretKeyFactory supporting KTS.
  • Method Details

    • getPublicKey

      public PublicKey getPublicKey()
      Return the public key to be used to encrypt the secret and make the encapsulation.
      Returns:
      the public key to be used for secret encryption.
    • getSecureRandom

      public SecureRandom getSecureRandom()
      Return the SecureRandom which will be used to generate the secret.
      Returns:
      the source of randomness for the secret.