|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use KeySpec | |
java.security | Provides the classes and interfaces for the security framework. |
java.security.spec | Provides classes and interfaces for key specifications and algorithm parameter specifications. |
Uses of KeySpec in java.security |
Methods in java.security that return KeySpec | |
KeySpec |
KeyFactory.getKeySpec(Key key,
Class keySpec)
Returns a specification (key material) of the given key object. |
protected abstract KeySpec |
KeyFactorySpi.engineGetKeySpec(Key key,
Class keySpec)
Returns a specification (key material) of the given key object. |
Methods in java.security with parameters of type KeySpec | |
PublicKey |
KeyFactory.generatePublic(KeySpec keySpec)
Generates a public key object from the provided key specification (key material). |
PrivateKey |
KeyFactory.generatePrivate(KeySpec keySpec)
Generates a private key object from the provided key specification (key material). |
protected abstract PublicKey |
KeyFactorySpi.engineGeneratePublic(KeySpec keySpec)
Generates a public key object from the provided key specification (key material). |
protected abstract PrivateKey |
KeyFactorySpi.engineGeneratePrivate(KeySpec keySpec)
Generates a private key object from the provided key specification (key material). |
Uses of KeySpec in java.security.spec |
Classes in java.security.spec that implement KeySpec | |
class |
DSAPrivateKeySpec
This class specifies a DSA private key with its associated parameters. |
class |
DSAPublicKeySpec
This class specifies a DSA public key with its associated parameters. |
class |
EncodedKeySpec
This class represents a public or private key in encoded format. |
class |
PKCS8EncodedKeySpec
This class represents the ASN.1 encoding of a private key, encoded according to the ASN.1 type PrivateKeyInfo ,
whose syntax is defined in the PKCS#8 standard, as follows:
|
class |
RSAPrivateCrtKeySpec
This class specifies an RSA private key, as defined in the PKCS#1 standard, using the Chinese Remainder Theorem (CRT) information values for efficiency. |
class |
RSAPrivateKeySpec
This class specifies an RSA private key. |
class |
RSAPublicKeySpec
This class specifies an RSA public key. |
class |
X509EncodedKeySpec
This class represents the ASN.1 encoding of a public key, encoded according to the ASN.1 type SubjectPublicKeyInfo ,
whose syntax is defined in the X.509 standard, as follows:
|
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.