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 gnu.javax.crypto.jce.sig

Methods with return type java.security.PrivateKey

PrivateKey
Generates a private key from the provided key specification.

Uses in package gnu.java.security.jce.sig

Methods with return type java.security.PrivateKey

PrivateKey
PrivateKey
PrivateKey

Uses in package gnu.java.security.key.dss

Classes implementing java.security.PrivateKey

class
An object that embodies a DSS (Digital Signature Standard) private key.

Methods with parameter type java.security.PrivateKey

byte[]
Returns the PKCS#8 ASN.1 PrivateKeyInfo representation of a DSA private key.
byte[]
Returns the encoded form of the designated DSS (Digital Signature Standard) private key according to the Raw format supported by this library.
byte[]

Methods with return type java.security.PrivateKey

PrivateKey
PrivateKey
PrivateKey

Uses in package gnu.javax.crypto.key.dh

Classes implementing java.security.PrivateKey

class
An implementation of the Diffie-Hellman private key.

Methods with parameter type java.security.PrivateKey

byte[]
Returns the DER-encoded form of the PKCS#8 ASN.1 PrivateKeyInfo representation of a DH private key.
byte[]
Returns the encoded form of the designated Diffie-Hellman private key according to the Raw format supported by this library.
byte[]

Methods with return type java.security.PrivateKey

PrivateKey
PrivateKey
Decodes an instance of an external private key into its native Java representation.
PrivateKey

Uses in package gnu.javax.net.ssl.provider

Methods with parameter type java.security.PrivateKey

@Override

Uses in package gnu.java.security.sig.rsa

Methods with parameter type java.security.PrivateKey

BigInteger
An implementation of the RSADP algorithm.
void
void
BigInteger
An implementation of the RSASP method: Assuming that the designated RSA private key is a valid one, this method computes a signature representative for a designated message representative signed by the holder of the designated RSA private key.

Uses in package gnu.java.security.key.rsa

Classes implementing java.security.PrivateKey

class
An object that embodies an RSA private key.

Methods with parameter type java.security.PrivateKey

byte[]
Returns the PKCS#8 ASN.1 PrivateKeyInfo representation of an RSA private key.
byte[]
Returns the encoded form of the designated RSA private key according to the Raw format supported by this library.
byte[]

Methods with return type java.security.PrivateKey

PrivateKey
PrivateKey
Decodes an instance of an external private key into its native Java representation.
PrivateKey

Uses in package gnu.javax.crypto.key

Methods with parameter type java.security.PrivateKey

void
Encodes a private key into the message.

Methods with return type java.security.PrivateKey

PrivateKey
Decodes a private key from the message.

Uses in package gnu.java.security.sig

Fields of type java.security.PrivateKey

PrivateKey
The private key to use when generating signatures (signing).

Methods with parameter type java.security.PrivateKey

void

Uses in package gnu.javax.crypto.key.srp6

Classes implementing java.security.PrivateKey

class
A representation of an SRP ephemeral private key.

Methods with parameter type java.security.PrivateKey

byte[]
Returns the encoded form of the designated SRP private key according to the Raw format supported by this library.

Methods with return type java.security.PrivateKey

PrivateKey
Decodes an instance of an external private key into its native Java representation.

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 gnu.java.security.key

Methods with parameter type java.security.PrivateKey

byte[]
Encodes an instance of a private key for storage or transmission purposes.

Methods with return type java.security.PrivateKey

PrivateKey
Decodes an instance of an external private key into its native Java representation.

Uses in package gnu.java.security.sig.dss

Methods with parameter type java.security.PrivateKey

void

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.