JavaTM 2 Platform
Std. Ed. v1.4.2

Package javax.crypto.spec

Provides classes and interfaces for key specifications and algorithm parameter specifications.

See:
          Description

Class Summary
DESedeKeySpec This class specifies a DES-EDE ("triple-DES") key.
DESKeySpec This class specifies a DES key.
DHGenParameterSpec This class specifies the set of parameters used for generating Diffie-Hellman (system) parameters for use in Diffie-Hellman key agreement.
DHParameterSpec This class specifies the set of parameters used with the Diffie-Hellman algorithm, as specified in PKCS #3: Diffie-Hellman Key-Agreement Standard.
DHPrivateKeySpec This class specifies a Diffie-Hellman private key with its associated parameters.
DHPublicKeySpec This class specifies a Diffie-Hellman public key with its associated parameters.
IvParameterSpec This class specifies an initialization vector (IV).
PBEKeySpec A user-chosen password that can be used with password-based encryption (PBE).
PBEParameterSpec This class specifies the set of parameters used with password-based encryption (PBE), as defined in the PKCS #5 standard.
RC2ParameterSpec This class specifies the parameters used with the RC2 algorithm.
RC5ParameterSpec This class specifies the parameters used with the RC5 algorithm.
SecretKeySpec This class specifies a secret key in a provider-independent fashion.
 

Package javax.crypto.spec Description

Provides classes and interfaces for key specifications and algorithm parameter specifications.

A key specification is a transparent representation of the key material that constitutes a key. A key may be specified in an algorithm-specific way, or in an algorithm-independent encoding format (such as ASN.1). This package contains key specifications for Diffie-Hellman public and private keys, as well as key specifications for DES, Triple DES, and PBE secret keys.

An algorithm parameter specification is a transparent representation of the sets of parameters used with an algorithm. This package contains algorithm parameter specifications for parameters used with the Diffie-Hellman, DES, Triple DES, PBE, RC2 and RC5 algorithms.

Package Specification

Related Documentation

For documentation that includes information about algorithm parameter and key specifications, please see:

Since:
JCE1.2

JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.