java.lang.Object | |
↳ | javax.crypto.spec.DHPrivateKeySpec |
The key specification for a Diffie-Hellman private key.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
DHPrivateKeySpec with the specified private
value x .
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the base generator
g .
| |||||||||||
Returns the prime modulus
p .
| |||||||||||
Returns the private value
x .
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Creates a new DHPrivateKeySpec
with the specified private
value x
. prime modulus p
and base
generator g
.
x | the private value. |
---|---|
p | the prime modulus. |
g | the base generator. |
Returns the base generator g
.
g
.
Returns the prime modulus p
.
p
.
Returns the private value x
.
x
.