Uses of Interface java.security.PrivateKey

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 new instance of SignedObject from a Serializable object.

Methods with parameter type java.security.PrivateKey

void
Initializes this instance with the private key for signing purposes.
void
Initializes this instance with the private key and source of randomness for signing purposes.
void
Initializes this class with the private key for signing purposes.
void
Initializes this class with the private key and source of randomness for signing purposes.

Methods with return type java.security.PrivateKey

PrivateKey
Generates a private key from the provided key specification.
PrivateKey
Generates a private key from the provided key specification.
PrivateKey
Returns the private key stored in the KeyPair
PrivateKey
Returns the private key of this Signer.

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 javax.net.ssl

Methods with return type java.security.PrivateKey

PrivateKey
Gets the private key associated with the given alias.