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

Provides the classes and interfaces for the security framework.

See:
          Description

Interface Summary
Key The Key interface is the top-level interface for all keys.
PublicKey A public key.
 

Class Summary
KeyFactory Key factories are used to convert key specifications (transparent representations of the underlying key material) into keys (opaque cryptographic keys of type Key).
MessageDigest This MessageDigest class provides applications the functionality of a message digest algorithm, such as MD5 or SHA.
Signature This Signature class is used to provide applications the functionality of a digital signature algorithm.
 

Exception Summary
DigestException This is the generic Message Digest exception.
GeneralSecurityException The GeneralSecurityException class is a generic security exception class that provides type safety for all the security-related exception classes that extend from it.
InvalidAlgorithmParameterException This is the exception for invalid or inappropriate algorithm parameters.
InvalidKeyException This is the exception for invalid Keys (invalid encoding, wrong length, uninitialized, etc).
KeyException This is the basic key exception.
NoSuchAlgorithmException This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment.
SignatureException This is the generic Signature exception.
 

Package java.security Description

Provides the classes and interfaces for the security framework. This package supports the generation and storage of cryptographic public key pairs, as well as a number of exportable cryptographic operations including those for message digest and signature generation.

SATSA Subset Description

This package is a subset of the java.security 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.