Dsa Methods |
The Dsa type exposes the following members.
| Name | Description | |
|---|---|---|
| AlgName | Get the algorithm name from its code | |
| KeyGen | Generate a DSA signing key pair (pk, sk). | |
| PrivateKeySize | Return length in bytes of (expanded) private key for the given DSA algorithm. | |
| PublicKeyFromPrivate | Extract the public key from a private key. | |
| PublicKeySize | Return length in bytes of public key for the given DSA algorithm. | |
| Sign | Generate a DSA signature over a message. | |
| SignatureSize | Return length in bytes of signature for the given DSA algorithm. | |
| SignPreHash | Generate a DSA signature over a pre-hashed message. | |
| Verify | Verify a DSA signature over a message. | |
| VerifyPreHash | Verify a DSA signature over a pre-hashed message. |