Uses of Interface java.security.PrivateKey

Uses in package javax.net.ssl

Methods with return type java.security.PrivateKey

PrivateKey
Gets the private key associated with the given alias.

Uses in package javax.security.auth.x500

Constructors with parameter type java.security.PrivateKey

Creates a new private credential with no associated keystore alias.
Creates a new private credential with a keystore alias.

Methods with return type java.security.PrivateKey

PrivateKey
Returns the private key of this credential.

Uses in package java.security

Constructors with parameter type java.security.PrivateKey

KeyPair.KeyPair(PublicKey publicKey, PrivateKey privateKey)
Initializes the KeyPair with a pubilc and private key.
SignedObject.SignedObject(Serializable object, PrivateKey signingKey, Signature signingEngine)
Constructs a SignedObject from any Serializable object.

Methods with parameter type java.security.PrivateKey

void
Initializes this signature object with the specified private key for signing operations.
void
Initializes this signature object with the specified private key and source of randomness for signing operations.

This concrete method has been added to this previously-defined abstract class.

void
Initialize this object for signing.
void
Initialize this object for signing.

Methods with return type java.security.PrivateKey

PrivateKey
Generates a private key from the provided key specification.
PrivateKey
Generates a private key object from the provided key specification (key material).
PrivateKey
Returns the private key stored in the KeyPair
PrivateKey
Returns this signer's private key.

First, if there is a security manager, its checkSecurityAccess() method is called with "getSignerPrivateKey" as its argument to see if it's ok to return the private key.