Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| J2ME CDC
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
java.security.PrivateKey

Packages that use PrivateKey
java.security |

Uses of PrivateKey in java.security

Methods in java.security that return PrivateKey
`PrivateKey` | `KeyFactory.generatePrivate(KeySpec keySpec)` Generates a private key object from the provided key specification (key material).
`PrivateKey` | `Signer.getPrivateKey()` Deprecated. Returns this signer's private key.
`PrivateKey` | `KeyPair.getPrivate()` Returns a reference to the private key component of this key pair.
`protected abstract PrivateKey` | `KeyFactorySpi.engineGeneratePrivate(KeySpec keySpec)` Generates a private key object from the provided key specification (key material).

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
`KeyPair(PublicKey publicKey, PrivateKey privateKey)` Constructs a key pair from the given public key and private key.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| J2ME CDC
PREV NEXT | FRAMES NO FRAMES

Java is a trademark or registred trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo, Alto, California, 94303, U.S.A All Rights Reserved.