/// <summary>
        /// Initializes this instance of an DSA signature algorithm.
        /// </summary>
        /// <param name="dsa">DSA cryptographic service provider to use.</param>
        private void InitializeAlgorithm(System.Security.Cryptography.DSA dsa)
        {
            this.dsa = dsa;

            //Compute the identity.
            DSAParameters parameters = dsa.ExportParameters(false);

            this.identity = new DSAIdentity(parameters);
        }
예제 #2
0
 public DSASignature(byte[] data, DSAIdentity identity, byte[] signature)
     : base(data, identity)
 {
     this.signature = signature;
 }