gnu.crypto.pki.provider

Class GnuDSAPublicKey

Implemented Interfaces:
DSAPublicKey

public class GnuDSAPublicKey
extends Object
implements DSAPublicKey

Field Summary

(package private) BigInteger
g
(package private) BigInteger
p
(package private) BigInteger
q
(package private) BigInteger
y

Constructor Summary

GnuDSAPublicKey(BigInteger y, BigInteger p, BigInteger q, BigInteger g)

Method Summary

String
getAlgorithm()
byte[]
getEncoded()
The encoded form of DSA public keys is:
 SubjectPublicKeyInfo ::= SEQUENCE {
   algorithm AlgorithmIdentifier,
   subjectPublicKey BIT STRING }
 
String
getFormat()
DSAParams
getParams()
BigInteger
getY()
String
toString()

Field Details

g

(package private)  BigInteger g

p

(package private)  BigInteger p

q

(package private)  BigInteger q

y

(package private)  BigInteger y

Constructor Details

GnuDSAPublicKey

public GnuDSAPublicKey(BigInteger y,
                       BigInteger p,
                       BigInteger q,
                       BigInteger g)

Method Details

getAlgorithm

public String getAlgorithm()

getEncoded

public byte[] getEncoded()
The encoded form of DSA public keys is:
 SubjectPublicKeyInfo ::= SEQUENCE {
   algorithm AlgorithmIdentifier,
   subjectPublicKey BIT STRING }
 

getFormat

public String getFormat()

getParams

public DSAParams getParams()

getY

public BigInteger getY()

toString

public String toString()

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.