Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 177

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
EncodedKeySpec This class represents a public key in encoded format.
X509EncodedKeySpec This class represents the ASN.1 encoding of a public key, encoded according to the ASN.1 type SubjectPublicKeyInfo.
 

Exception Summary
InvalidKeySpecException This is the exception for invalid key 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).

Package Specification

Related Documentation

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

SATSA Subset Description

This package is a subset of the java.security.spec package in the Java 2 Platform, Standard Edition, version 1.4.2.

Since:
SATSA1.0

JSR 177

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 177 specification.