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

JavaTM 2 Platform
Standard Edition

Uses of Interface
java.security.PrivateKey

Packages that use PrivateKey
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. 
 

Uses of PrivateKey in java.security
 

Methods in java.security that return PrivateKey
protected abstract  PrivateKey KeyFactorySpi.engineGeneratePrivate(KeySpec keySpec)
          Generates a private 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).
 PrivateKey KeyPair.getPrivate()
          Returns a reference to the private key component of this key pair.
 PrivateKey Signer.getPrivateKey()
          Deprecated. Returns this signer's private key.
 

Methods in java.security with parameters of type PrivateKey
protected abstract  void SignatureSpi.engineInitSign(PrivateKey privateKey)
          Initializes this signature object with the specified private key for signing operations.
protected  void SignatureSpi.engineInitSign(PrivateKey privateKey, SecureRandom random)
          Initializes this signature object with the specified private key and source of randomness for signing operations.
 void Signature.initSign(PrivateKey privateKey)
          Initialize this object for signing.
 void Signature.initSign(PrivateKey privateKey, SecureRandom random)
          Initialize this object for signing.
 

Constructors in java.security with parameters of type PrivateKey
SignedObject.SignedObject(Serializable object, PrivateKey signingKey, Signature signingEngine)
          Constructs a SignedObject from any Serializable object.
KeyPair.KeyPair(PublicKey publicKey, PrivateKey privateKey)
          Constructs a key pair from the given public key and private key.
 

Uses of PrivateKey in java.security.interfaces
 

Subinterfaces of PrivateKey in java.security.interfaces
 interface DSAPrivateKey
          The standard interface to a DSA private key.
 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.
 


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.