The DSAManaged type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DSAManaged()()()() |
Initializes a new instance of the DSAManaged class with the key size of 1024.
| |
DSAManaged(Int32) |
Initializes a new instance of the DSAManaged class with the specified key size.
| |
DSAManaged(Int32, array<Byte>[]()[][]) |
Initializes a new instance of the DSAManaged class with the specified key size and seed.
|
Methods
Name | Description | |
---|---|---|
Clear | Releases all resources used by the AsymmetricAlgorithm class. (Inherited from AsymmetricAlgorithm.) | |
CreateSignature |
Creates the DSA signature for the specified data.
(Overrides DSA..::..CreateSignature(array<Byte>[]()[][]).) | |
DecodeSignatureFromDer | Obsolete. | |
Dispose()()()() | (Inherited from AsymmetricAlgorithm.) | |
Dispose(Boolean) |
Releases the unmanaged resources and optionally releases the managed resources.
(Overrides AsymmetricAlgorithm..::..Dispose(Boolean).) | |
EncodeSignatureToDer | Obsolete. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
ExportParameters |
Exports the DSAParameters.
(Overrides DSA..::..ExportParameters(Boolean).) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
FromXmlString | Reconstructs a DSA object from an XML string. (Inherited from DSA.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HashData(Stream, HashAlgorithmName) | (Inherited from DSA.) | |
HashData(array<Byte>[]()[][], Int32, Int32, HashAlgorithmName) | (Inherited from DSA.) | |
ImportParameters |
Imports the specified DSAParameters.
(Overrides DSA..::..ImportParameters(DSAParameters).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SignData(array<Byte>[]()[][], HashAlgorithmName) | (Inherited from DSA.) | |
SignData(Stream, HashAlgorithmName) | (Inherited from DSA.) | |
SignData(array<Byte>[]()[][], HashAlgorithm) |
Computes the hash value of the specified byte array using the specified hash algorithm, and signs the resulting hash value.
| |
SignData(array<Byte>[]()[][], Int32, Int32, HashAlgorithmName) | (Inherited from DSA.) | |
SignHash |
Computes the signature for the specified hash value by signing
it with the private key.
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
ToXmlString | Creates and returns an XML string representation of the current DSA object. (Inherited from DSA.) | |
VerifyData(array<Byte>[]()[][], array<Byte>[]()[][], HashAlgorithmName) | (Inherited from DSA.) | |
VerifyData(Stream, array<Byte>[]()[][], HashAlgorithmName) | (Inherited from DSA.) | |
VerifyData(array<Byte>[]()[][], HashAlgorithm, array<Byte>[]()[][]) |
Verifies the specified signature data by comparing it to the signature computed for the specified data.
| |
VerifyData(array<Byte>[]()[][], Int32, Int32, array<Byte>[]()[][], HashAlgorithmName) | (Inherited from DSA.) | |
VerifyHash |
Verifies the specified signature data by comparing it to the signature computed for the specified hash value.
| |
VerifySignature |
Verifies the DSA signature for the specified data.
(Overrides DSA..::..VerifySignature(array<Byte>[]()[][], array<Byte>[]()[][]).) |
Fields
Name | Description | |
---|---|---|
KeySizeValue | Represents the size, in bits, of the key modulus used by the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.) | |
LegalKeySizesValue | Specifies the key sizes that are supported by the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.) |
Properties
Name | Description | |
---|---|---|
KeyExchangeAlgorithm |
Gets the name of the key exchange algorithm available with this implementation of DSA.
(Overrides AsymmetricAlgorithm..::..KeyExchangeAlgorithm.) | |
KeySize | Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.) | |
LegalKeySizes | Gets the key sizes that are supported by the asymmetric algorithm. (Inherited from AsymmetricAlgorithm.) | |
SignatureAlgorithm |
Gets the name of the signature algorithm available with this implementation of DSA.
(Overrides AsymmetricAlgorithm..::..SignatureAlgorithm.) |