|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectopencard.opt.security.DSAPublicKey
public class DSAPublicKey
Contains a public DSA key. Implements the java.security.interfaces.DSAPublicKey interface In this package OpenCard provides key classes for common algorithms like RSA, DSA (or DES) that each concrete card service implementing a card service interface should support instead of defining its own key classes. Only for new PKA algorithms that OpenCard does not yet support a card service may define its own key classes.
DSAPublicKey,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface java.security.interfaces.DSAPublicKey |
|---|
serialVersionUID |
| Constructor Summary | |
|---|---|
DSAPublicKey(java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger g,
java.math.BigInteger y)
Produce a DSAPublicKey from the given BigIntegers. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAlgorithm()
Conformance to the java.security interface |
byte[] |
getEncoded()
Conformance to the java.security interface |
java.lang.String |
getFormat()
Conformance to the java.security interface |
java.security.interfaces.DSAParams |
getParams()
Returns the DSA-specific key parameters. |
java.math.BigInteger |
getY()
Returns the value of the public key, y. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DSAPublicKey(java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger g,
java.math.BigInteger y)
q - subprimep - primeg - basey - public key| Method Detail |
|---|
public java.lang.String getAlgorithm()
getAlgorithm in interface java.security.KeyPublicKeypublic byte[] getEncoded()
getEncoded in interface java.security.KeyPublicKeypublic java.lang.String getFormat()
getFormat in interface java.security.KeyPublicKeypublic java.security.interfaces.DSAParams getParams()
getParams in interface java.security.interfaces.DSAKeyDSAParamspublic java.math.BigInteger getY()
y.
getY in interface java.security.interfaces.DSAPublicKeyy.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||