org.metastatic.jessie.pki.provider

Class GnuDSAPublicKey

Implemented Interfaces:
DSAPublicKey

public class GnuDSAPublicKey
extends java.lang.Object
implements DSAPublicKey

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()

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()