Since: API Level 1
package

javax.crypto.spec

Classes | Description

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