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