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