站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Interface java.security.spec.KeySpec - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Interface
java.security.spec.KeySpec

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
protected abstract  KeySpec KeyFactorySpi.engineGetKeySpec(Key key, Class keySpec)
          Returns a specification (key material) of the given key object.
 KeySpec KeyFactory.getKeySpec(Key key, Class keySpec)
          Returns a specification (key material) of the given key object.
 

Methods in java.security with parameters of type KeySpec
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).
 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).
 

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 DER encoding of a private key, according to the format specified in the PKCS #8 standard.
 class RSAPrivateCrtKeySpec
          This class specifies an RSA private key, as defined in the PKCS#1 standard, using the Chinese Remainder Theorem (CRT) information values.
 class RSAPrivateKeySpec
          This class specifies an RSA private key.
 class RSAPublicKeySpec
          This class specifies an RSA public key.
 class X509EncodedKeySpec
          This class represents the DER encoding of a public or private key, according to the format specified in the X.509 standard.
 


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.