using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Security.Cryptography { /// Represents the base class from which all implementations of asymmetric signature formatters derive. // Token: 0x020003EE RID: 1006 [Token(Token = "0x20003EE")] [ComVisible(true)] public abstract class AsymmetricSignatureFormatter { /// Initializes a new instance of . // Token: 0x06002325 RID: 8997 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002325")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] protected AsymmetricSignatureFormatter() { } /// When overridden in a derived class, sets the asymmetric algorithm to use to create the signature. /// The instance of the implementation of to use to create the signature. // Token: 0x06002326 RID: 8998 [Token(Token = "0x6002326")] [Address(Slot = "4")] public abstract void SetKey(AsymmetricAlgorithm key); /// When overridden in a derived class, sets the hash algorithm to use for creating the signature. /// The name of the hash algorithm to use for creating the signature. // Token: 0x06002327 RID: 8999 [Token(Token = "0x6002327")] [Address(Slot = "5")] public abstract void SetHashAlgorithm(string strName); /// Creates the signature from the specified hash value. /// The hash algorithm to use to create the signature. /// The signature for the specified hash value. /// The parameter is . // Token: 0x06002328 RID: 9000 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002328")] [Address(RVA = "0xBFF230", Offset = "0xBFE230", VA = "0x180BFF230", Slot = "6")] public virtual byte[] CreateSignature(HashAlgorithm hash) { return null; } /// When overridden in a derived class, creates the signature for the specified data. /// The data to be signed. /// The digital signature for the parameter. // Token: 0x06002329 RID: 9001 [Token(Token = "0x6002329")] [Address(Slot = "7")] public abstract byte[] CreateSignature(byte[] rgbHash); } }