DSAPublicKey, DSAPrivateKey
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | DSA.
Raw DSA. |
| public static class | DSA.
Standard Raw DSA implementation. |
| public static class | DSA.
Raw DSA implementation that uses the IEEE P1363 format. |
| public static class | DSA.
Standard SHA1withDSA implementation. |
| public static class | DSA.
SHA1withDSA implementation that uses the IEEE P1363 format. |
| public static class | DSA.
Standard SHA224withDSA implementation as defined in FIPS186-3. |
| public static class | DSA.
SHA224withDSA implementation that uses the IEEE P1363 format. |
| public static class | DSA.
Standard SHA256withDSA implementation as defined in FIPS186-3. |
| public static class | DSA.
SHA256withDSA implementation that uses the IEEE P1363 format. |
| public static class | DSA.
Standard SHA384withDSA implementation as defined in FIPS186-3. |
| public static class | DSA.
SHA384withDSA implementation that uses the IEEE P1363 format. |
| public static class | DSA.
SHA3-224withDSA implementation. |
| public static class | DSA.
SHA3-224withDSA implementation that uses the IEEE P1363 format. |
| public static class | DSA.
Standard SHA3-256withDSA implementation. |
| public static class | DSA.
Standard SHA3-256withDSA implementation that uses the IEEE P1363 format. |
| public static class | DSA.
Standard SHA3-384withDSA implementation. |
| public static class | DSA.
Standard SHA3-384withDSA implementation that uses the IEEE P1363 format. |
| public static class | DSA.
Standard SHA3-512withDSA implementation. |
| public static class | DSA.
Standard SHA3-512withDSA implementation that uses the IEEE P1363 format. |
| public static class | DSA.
Standard SHA512withDSA implementation as defined in FIPS186-3. |
| public static class | DSA.
SHA512withDSA implementation that uses the IEEE P1363 format. |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final BigInteger | |
| private static final boolean | |
| private final MessageDigest | |
| private final boolean | |
| private DSAParams | |
| private BigInteger | |
| private BigInteger | |
| private BigInteger | |
| private BigInteger | |
| private BigInteger | |
| private SecureRandom |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | DSA(MessageDigest md, boolean p1363Format)
Construct a blank DSA object that will use the specified signature format. |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| protected Object | engineGetParameter(String key)
Implements abstract java.
Deprecated
Gets the value of the specified algorithm parameter. |
| protected AlgorithmParameters | engineGetParameters()
Overrides java. Returns the parameters used with this |
| protected void | engineInitSign(PrivateKey
the DSA private key privateKey)Implements abstract java. Initialize the DSA object with a DSA private key. |
| protected void | engineInitVerify(PublicKey
the DSA public key. publicKey)Implements abstract java. Initialize the DSA object with a DSA public key. |
| protected void | engineSetParameter(String key, Object param)
Implements abstract java.
Deprecated
Sets the specified algorithm parameter to the specified value. |
| protected void | engineSetParameter(AlgorithmParameterSpec params)
Overrides java. Initializes this |
| protected byte[] | Returns: a signature block formatted according to the format indicated byp1363FormatImplements abstract java. Sign all the data thus far updated. |
| protected void | engineUpdate(byte b)
Implements abstract java. Update a byte to be signed or verified. |
| protected void | engineUpdate(byte[] data, int off, int len)
Implements abstract java. Update an array of bytes to be signed or verified. |
| protected void | engineUpdate(ByteBuffer b)
Overrides java. Updates the data to be signed or verified using the specified ByteBuffer. |
| protected boolean | engineVerify(byte[]
the alleged signature, encoded using the
Canonical Encoding Rules, as a sequence of integers, r and s. signature)Implements abstract java. Verify all the data thus far updated. |
| protected boolean | engineVerify(byte[]
the alleged signature, encoded using the
format indicated by signature, int p1363Format. If p1363Format
is false (the default), then the signature is formatted
according to the Canonical Encoding Rules, as a DER sequence of
Integers, r and s. If p1363Format is false,
the signature is in the IEEE P1363 format, which is the
concatenation or r and s.the offset to start from in the array of bytes. offset, int the number of bytes to use, starting at offset. length)Overrides java. Verify all the data thus far updated. |
| protected BigInteger | |
| private BigInteger | |
| private BigInteger | |
| private BigInteger | |
| private BigInteger | |
| protected SecureRandom | |
| public String |