| java.lang.Object sun.security.x509.X509Key sun.security.provider.DSAPublicKey
Constructor Summary | |
public | DSAPublicKey() | public | DSAPublicKey(BigInteger y, BigInteger p, BigInteger q, BigInteger g) Make a DSA public key out of a public key and three parameters.
The p, q, and g parameters may be null, but if so, parameters will need
to be supplied from some other source before this key can be used in
cryptographic operations. | public | DSAPublicKey(byte[] encoded) Make a DSA public key from its DER encoding (X.509). |
DSAPublicKey | public DSAPublicKey()(Code) | | |
DSAPublicKey | public DSAPublicKey(BigInteger y, BigInteger p, BigInteger q, BigInteger g) throws InvalidKeyException(Code) | | Make a DSA public key out of a public key and three parameters.
The p, q, and g parameters may be null, but if so, parameters will need
to be supplied from some other source before this key can be used in
cryptographic operations. PKIX RFC2459bis explicitly allows DSA public
keys without parameters, where the parameters are provided in the
issuer's DSA public key.
Parameters: y - the actual key bits Parameters: p - DSA parameter p, may be null if all of p, q, and g are null. Parameters: q - DSA parameter q, may be null if all of p, q, and g are null. Parameters: g - DSA parameter g, may be null if all of p, q, and g are null. |
DSAPublicKey | public DSAPublicKey(byte[] encoded) throws InvalidKeyException(Code) | | Make a DSA public key from its DER encoding (X.509).
|
getParams | public DSAParams getParams()(Code) | | Returns the DSA parameters associated with this key, or null if the
parameters could not be parsed.
|
getY | public BigInteger getY()(Code) | | Get the raw public value, y, without the parameters.
See Also: getParameters |
|
|