All Packages Class Hierarchy This Package Previous Next Index
Class w3c.www.dsig.DSAPublicKeyClass
java.lang.Object
|
+----w3c.www.dsig.DSAPublicKeyClass
- public class DSAPublicKeyClass
- extends Object
- implements DSAPublicKey
An implementation of the java.security.interfaces.DSAPublicKey
interface. This was written because generating a DSA public key
from given parameters using the JDK implementation in the Sun
provider is not possible by via the security interfaces (BUG!).
-
DSAPublicKeyClass(BigInteger, BigInteger, BigInteger, BigInteger)
- Create a new DSA public key from the given BigInteger values.
-
DSAPublicKeyClass(BigInteger, DSAParams)
- Create a new DSA public key from the given y and the parameters
dsaparams.
-
getAlgorithm()
- Returns the String "DSA"
-
getEncoded()
- Get the encoding, as encoding is not supported
this returns null.
-
getFormat()
- Get the format of the encoding, as encoding is not supported
this returns null.
-
getParams()
-
-
getY()
-
-
newDSAPublicKeyClass(BigInteger, BigInteger, BigInteger, BigInteger)
- Return a new DSA public key from the given y and the parameters
BigIntegers.
-
newDSAPublicKeyClass(BigInteger, DSAParams)
- Return a new DSA public key from the given y and the parameters
dsaparams.
DSAPublicKeyClass
public DSAPublicKeyClass(BigInteger y,
DSAParams dsaParams)
- Create a new DSA public key from the given y and the parameters
dsaparams.
DSAPublicKeyClass
public DSAPublicKeyClass(BigInteger y,
BigInteger p,
BigInteger q,
BigInteger g)
- Create a new DSA public key from the given BigInteger values.
newDSAPublicKeyClass
public static DSAPublicKeyClass newDSAPublicKeyClass(BigInteger y,
DSAParams dsaParams)
- Return a new DSA public key from the given y and the parameters
dsaparams. This is equivalent to using the constructor with new()
except that this method could be declared in an interface (which
it currently is not) while constructors cannot.
newDSAPublicKeyClass
public static DSAPublicKeyClass newDSAPublicKeyClass(BigInteger y,
BigInteger p,
BigInteger q,
BigInteger g)
- Return a new DSA public key from the given y and the parameters
BigIntegers. This is equivalent to using the constructor with new()
except that this method could be declared in an interface (which
it currently is not) while constructors cannot.
getY
public BigInteger getY()
getParams
public DSAParams getParams()
getAlgorithm
public String getAlgorithm()
- Returns the String "DSA"
getFormat
public String getFormat()
- Get the format of the encoding, as encoding is not supported
this returns null.
getEncoded
public byte[] getEncoded()
- Get the encoding, as encoding is not supported
this returns null.
All Packages Class Hierarchy This Package Previous Next Index