Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Standard Edition

Package java.security.spec

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

See:
          Description

Interface Summary
AlgorithmParameterSpec A (transparent) specification of cryptographic parameters.
KeySpec A (transparent) specification of the key material that constitutes a cryptographic key.
 

Class Summary
DSAParameterSpec This class specifies the set of parameters used with the DSA algorithm.
DSAPrivateKeySpec This class specifies a DSA private key with its associated parameters.
DSAPublicKeySpec This class specifies a DSA public key with its associated parameters.
EncodedKeySpec This class represents a public or private key in encoded format.
PKCS8EncodedKeySpec This class represents the DER encoding of a private key, according to the format specified in the PKCS #8 standard.
RSAPrivateCrtKeySpec This class specifies an RSA private key, as defined in the PKCS#1 standard, using the Chinese Remainder Theorem (CRT) information values.
RSAPrivateKeySpec This class specifies an RSA private key.
RSAPublicKeySpec This class specifies an RSA public key.
X509EncodedKeySpec This class represents the DER encoding of a public or private key, according to the format specified in the X.509 standard.
 

Exception Summary
InvalidKeySpecException This is the exception for invalid key specifications.
InvalidParameterSpecException This is the exception for invalid parameter specifications.
 

Package java.security.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 DSA public and private keys, RSA public and private keys, PKCS #8 private keys in DER-encoded format, and X.509 public and private keys in DER-encoded format.

An algorithm parameter specification is a transparent representation of the sets of parameters used with an algorithm. This package contains an algorithm parameter specification for parameters used with the DSA algorithm.

Package Specification

Related Documentation

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

Since:
JDK1.2

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.