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: 0x020003D2 RID: 978 [Token(Token = "0x20003D2")] [ComVisible(true)] public abstract class AsymmetricSignatureFormatter { /// Initializes a new instance of . // Token: 0x06002119 RID: 8473 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002119")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] 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: 0x0600211A RID: 8474 [Token(Token = "0x600211A")] [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: 0x0600211B RID: 8475 [Token(Token = "0x600211B")] [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: 0x0600211C RID: 8476 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600211C")] [Address(RVA = "0x298B4E0", Offset = "0x298A2E0", VA = "0x18298B4E0", 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: 0x0600211D RID: 8477 [Token(Token = "0x600211D")] [Address(Slot = "7")] public abstract byte[] CreateSignature(byte[] rgbHash); } }