API Overview
API Index
Package Overview
Direct link to this page
JDK 1.6
java.security.spec.
DSAPrivateKeySpec
View Source
Author(s)
Jan Luehe
Since
1.2
Version
1.19, 11/17/05
Serial
Hierarchy
Object
DSAPrivateKeySpec
Implements
KeySpec
Subclasses
See DIRECT subclasses
Quick Links:
Constructors
Methods
Fields
NestedClasses
Description
public
class DSAPrivateKeySpec
This class specifies a DSA private key with its associated parameters.
This class specifies a DSA private key with its associated parameters.
See also:
Key
KeyFactory
KeySpec
DSAPublicKeySpec
PKCS8EncodedKeySpec
Constructors
public
DSAPrivateKeySpec
(
BigInteger
x,
BigInteger
p,
BigInteger
q,
BigInteger
g)
Creates a new DSAPrivateKeySpec with the specified parameter values.
Creates a new DSAPrivateKeySpec with the specified parameter values.
Parameters:
-
x
- the private key.
-
p
- the prime.
-
q
- the sub-prime.
-
g
- the base.
Methods
Hide/Show inherited methods
public
BigInteger
getG
()
Returns the base
g
.
Returns the base
g
.
Returns:
the base
g
.
public
BigInteger
getP
()
Returns the prime
p
.
Returns the prime
p
.
Returns:
the prime
p
.
public
BigInteger
getQ
()
Returns the sub-prime
q
.
Returns the sub-prime
q
.
Returns:
the sub-prime
q
.
public
BigInteger
getX
()
Returns the private key
x
.
Returns the private key
x
.
Returns:
the private key
x
.
Fields
Hide/Show inherited fields
Nested Classes
Generated By:
JavaOnTracks Doclet
0.1.4 ©Thibaut Colar