gnu.crypto.pki.provider

Class GnuDSAPublicKey

public class GnuDSAPublicKey extends Object implements DSAPublicKey

Field Summary
BigIntegerg
BigIntegerp
BigIntegerq
BigIntegery
Constructor Summary
GnuDSAPublicKey(BigInteger y, BigInteger p, BigInteger q, BigInteger g)
Method Summary
StringgetAlgorithm()
byte[]getEncoded()
The encoded form of DSA public keys is:
 SubjectPublicKeyInfo ::= SEQUENCE {
   algorithm AlgorithmIdentifier,
   subjectPublicKey BIT STRING }
 
StringgetFormat()
DSAParamsgetParams()
BigIntegergetY()
StringtoString()

Field Detail

g

BigInteger g

p

BigInteger p

q

BigInteger q

y

BigInteger y

Constructor Detail

GnuDSAPublicKey

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

Method Detail

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.