|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Key | |
java.security | Provides the classes and interfaces for the security framework. |
java.security.interfaces | Provides interfaces for generating RSA (Rivest, Shamir and Adleman AsymmetricCipher algorithm) keys as defined in the RSA Laboratory Technical Note PKCS#1, and DSA (Digital Signature Algorithm) keys as defined in NIST's FIPS-186. |
javax.crypto | Provides the classes and interfaces for cryptographic operations. |
javax.crypto.interfaces | Provides interfaces for Diffie-Hellman keys as defined in RSA Laboratories' PKCS #3. |
javax.crypto.spec | Provides classes and interfaces for key specifications and algorithm parameter specifications. |
javax.security.auth.kerberos | This package contains utility classes related to the Kerberos network authentication protocol. |
Uses of Key in java.security |
Subinterfaces of Key in java.security | |
interface |
PrivateKey
A private key. |
interface |
PublicKey
A public key. |
Methods in java.security that return Key | |
protected abstract Key |
KeyFactorySpi.engineTranslateKey(Key key)
Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory. |
Key |
KeyFactory.translateKey(Key key)
Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory. |
abstract Key |
KeyStoreSpi.engineGetKey(String alias,
char[] password)
Returns the key associated with the given alias, using the given password to recover it. |
Key |
KeyStore.getKey(String alias,
char[] password)
Returns the key associated with the given alias, using the given password to recover it. |
Methods in java.security with parameters of type Key | |
protected abstract KeySpec |
KeyFactorySpi.engineGetKeySpec(Key key,
Class keySpec)
Returns a specification (key material) of the given key object. |
protected abstract Key |
KeyFactorySpi.engineTranslateKey(Key key)
Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory. |
KeySpec |
KeyFactory.getKeySpec(Key key,
Class keySpec)
Returns a specification (key material) of the given key object. |
Key |
KeyFactory.translateKey(Key key)
Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory. |
abstract void |
KeyStoreSpi.engineSetKeyEntry(String alias,
Key key,
char[] password,
Certificate[] chain)
Assigns the given key to the given alias, protecting it with the given password. |
void |
KeyStore.setKeyEntry(String alias,
Key key,
char[] password,
Certificate[] chain)
Assigns the given key to the given alias, protecting it with the given password. |
Uses of Key in java.security.interfaces |
Subinterfaces of Key in java.security.interfaces | |
interface |
DSAPrivateKey
The standard interface to a DSA private key. |
interface |
DSAPublicKey
The interface to a DSA public key. |
interface |
RSAMultiPrimePrivateCrtKey
The interface to an RSA multi-prime private key, as defined in the PKCS#1 v2.1, using the Chinese Remainder Theorem (CRT) information values. |
interface |
RSAPrivateCrtKey
The interface to an RSA private key, as defined in the PKCS#1 standard, using the Chinese Remainder Theorem (CRT) information values. |
interface |
RSAPrivateKey
The interface to an RSA private key. |
interface |
RSAPublicKey
The interface to an RSA public key. |
Uses of Key in javax.crypto |
Subinterfaces of Key in javax.crypto | |
interface |
SecretKey
A secret (symmetric) key. |
Methods in javax.crypto that return Key | |
protected abstract Key |
KeyAgreementSpi.engineDoPhase(Key key,
boolean lastPhase)
Executes the next phase of this key agreement with the given key that was received from one of the other parties involved in this key agreement. |
Key |
KeyAgreement.doPhase(Key key,
boolean lastPhase)
Executes the next phase of this key agreement with the given key that was received from one of the other parties involved in this key agreement. |
protected Key |
CipherSpi.engineUnwrap(byte[] wrappedKey,
String wrappedKeyAlgorithm,
int wrappedKeyType)
Unwrap a previously wrapped key. |
Key |
Cipher.unwrap(byte[] wrappedKey,
String wrappedKeyAlgorithm,
int wrappedKeyType)
Unwrap a previously wrapped key. |
Methods in javax.crypto with parameters of type Key | |
Object |
SealedObject.getObject(Key key)
Retrieves the original (encapsulated) object. |
Object |
SealedObject.getObject(Key key,
String provider)
Retrieves the original (encapsulated) object. |
protected abstract void |
ExemptionMechanismSpi.engineInit(Key key)
Initializes this exemption mechanism with a key. |
protected abstract void |
ExemptionMechanismSpi.engineInit(Key key,
AlgorithmParameterSpec params)
Initializes this exemption mechanism with a key and a set of algorithm parameters. |
protected abstract void |
ExemptionMechanismSpi.engineInit(Key key,
AlgorithmParameters params)
Initializes this exemption mechanism with a key and a set of algorithm parameters. |
protected abstract void |
MacSpi.engineInit(Key key,
AlgorithmParameterSpec params)
Initializes the MAC with the given (secret) key and algorithm parameters. |
void |
Mac.init(Key key)
Initializes this Mac object with the given key. |
void |
Mac.init(Key key,
AlgorithmParameterSpec params)
Initializes this Mac object with the given key and
algorithm parameters. |
protected abstract void |
KeyAgreementSpi.engineInit(Key key,
SecureRandom random)
Initializes this key agreement with the given key and source of randomness. |
protected abstract void |
KeyAgreementSpi.engineInit(Key key,
AlgorithmParameterSpec params,
SecureRandom random)
Initializes this key agreement with the given key, set of algorithm parameters, and source of randomness. |
protected abstract Key |
KeyAgreementSpi.engineDoPhase(Key key,
boolean lastPhase)
Executes the next phase of this key agreement with the given key that was received from one of the other parties involved in this key agreement. |
void |
KeyAgreement.init(Key key)
Initializes this key agreement with the given key, which is required to contain all the algorithm parameters required for this key agreement. |
void |
KeyAgreement.init(Key key,
SecureRandom random)
Initializes this key agreement with the given key and source of randomness. |
void |
KeyAgreement.init(Key key,
AlgorithmParameterSpec params)
Initializes this key agreement with the given key and set of algorithm parameters. |
void |
KeyAgreement.init(Key key,
AlgorithmParameterSpec params,
SecureRandom random)
Initializes this key agreement with the given key, set of algorithm parameters, and source of randomness. |
Key |
KeyAgreement.doPhase(Key key,
boolean lastPhase)
Executes the next phase of this key agreement with the given key that was received from one of the other parties involved in this key agreement. |
boolean |
ExemptionMechanism.isCryptoAllowed(Key key)
Returns whether the result blob has been generated successfully by this exemption mechanism. |
void |
ExemptionMechanism.init(Key key)
Initializes this exemption mechanism with a key. |
void |
ExemptionMechanism.init(Key key,
AlgorithmParameterSpec params)
Initializes this exemption mechanism with a key and a set of algorithm parameters. |
void |
ExemptionMechanism.init(Key key,
AlgorithmParameters params)
Initializes this exemption mechanism with a key and a set of algorithm parameters. |
protected abstract void |
CipherSpi.engineInit(int opmode,
Key key,
SecureRandom random)
Initializes this cipher with a key and a source of randomness. |
protected abstract void |
CipherSpi.engineInit(int opmode,
Key key,
AlgorithmParameterSpec params,
SecureRandom random)
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness. |
protected abstract void |
CipherSpi.engineInit(int opmode,
Key key,
AlgorithmParameters params,
SecureRandom random)
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness. |
protected byte[] |
CipherSpi.engineWrap(Key key)
Wrap a key. |
protected int |
CipherSpi.engineGetKeySize(Key key)
Returns the key size of the given key object in bits. |
void |
Cipher.init(int opmode,
Key key)
Initializes this cipher with a key. |
void |
Cipher.init(int opmode,
Key key,
SecureRandom random)
Initializes this cipher with a key and a source of randomness. |
void |
Cipher.init(int opmode,
Key key,
AlgorithmParameterSpec params)
Initializes this cipher with a key and a set of algorithm parameters. |
void |
Cipher.init(int opmode,
Key key,
AlgorithmParameterSpec params,
SecureRandom random)
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness. |
void |
Cipher.init(int opmode,
Key key,
AlgorithmParameters params)
Initializes this cipher with a key and a set of algorithm parameters. |
void |
Cipher.init(int opmode,
Key key,
AlgorithmParameters params,
SecureRandom random)
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness. |
byte[] |
Cipher.wrap(Key key)
Wrap a key. |
Uses of Key in javax.crypto.interfaces |
Subinterfaces of Key in javax.crypto.interfaces | |
interface |
DHPrivateKey
The interface to a Diffie-Hellman private key. |
interface |
DHPublicKey
The interface to a Diffie-Hellman public key. |
interface |
PBEKey
The interface to a PBE key. |
Uses of Key in javax.crypto.spec |
Classes in javax.crypto.spec that implement Key | |
class |
SecretKeySpec
This class specifies a secret key in a provider-independent fashion. |
Uses of Key in javax.security.auth.kerberos |
Classes in javax.security.auth.kerberos that implement Key | |
class |
KerberosKey
This class encapsulates a long term secret key for a Kerberos principal. |
|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.