javax.crypto.spec - JRE Emulation | JRE Emulation
package

javax.crypto.spec

This package provides the classes and interfaces needed to specify keys and parameter for encryption. The following standards are supported:

  • PKCS#3 Diffie-Hellman Key Agreement standard;
  • FIPS-46-2 Data Encryption Standard (DES);
  • PKCS#5 Password-Based Cryptography standard.

Keys may be specified via algorithm or in a more abstract and general way with ASN.1.

Keys and algorithm parameters are specified for the following procedures:

  • DH
  • DES
  • TripleDES
  • PBE
  • RC2
  • RC5

Classes

SecretKeySpec A key specification for a SecretKey and also a secret key implementation that is provider-independent.