using System; using System.Runtime.Serialization; using System.Text; using Cpp2IlInjected; namespace System.Security.Cryptography.X509Certificates { /// Represents an X.509 certificate. // Token: 0x020001E1 RID: 481 [Token(Token = "0x20001E1")] [Serializable] public class X509Certificate2 : X509Certificate { // Token: 0x17000248 RID: 584 // (get) Token: 0x06000C79 RID: 3193 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000248")] internal X509Certificate2Impl Impl { [Token(Token = "0x6000C79")] [Address(RVA = "0x51A090", Offset = "0x518E90", VA = "0x18051A090")] get { return null; } } /// Initializes a new instance of the class. // Token: 0x06000C7A RID: 3194 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C7A")] [Address(RVA = "0x51A040", Offset = "0x518E40", VA = "0x18051A040")] public X509Certificate2() { } /// Initializes a new instance of the class using an object. /// An object. /// An error with the certificate occurs. For example: /// /// The certificate file does not exist. /// /// The certificate is invalid. /// /// The certificate's password is incorrect. // Token: 0x06000C7B RID: 3195 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C7B")] [Address(RVA = "0x519FD0", Offset = "0x518DD0", VA = "0x180519FD0")] public X509Certificate2(X509Certificate certificate) { } /// Initializes a new instance of the class using the specified serialization and stream context information. /// The serialization information required to deserialize the new . /// Contextual information about the source of the stream to be deserialized. // Token: 0x06000C7C RID: 3196 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C7C")] [Address(RVA = "0x519F50", Offset = "0x518D50", VA = "0x180519F50")] protected X509Certificate2(SerializationInfo info, StreamingContext context) { } /// Gets the date in local time after which a certificate is no longer valid. /// A object that represents the expiration date for the certificate. /// The certificate is unreadable. // Token: 0x17000249 RID: 585 // (get) Token: 0x06000C7D RID: 3197 RVA: 0x000069D8 File Offset: 0x00004BD8 [Token(Token = "0x17000249")] public DateTime NotAfter { [Token(Token = "0x6000C7D")] [Address(RVA = "0x51A120", Offset = "0x518F20", VA = "0x18051A120")] get { return default(DateTime); } } /// Gets the date in local time on which a certificate becomes valid. /// A object that represents the effective date of the certificate. /// The certificate is unreadable. // Token: 0x1700024A RID: 586 // (get) Token: 0x06000C7E RID: 3198 RVA: 0x000069F0 File Offset: 0x00004BF0 [Token(Token = "0x1700024A")] public DateTime NotBefore { [Token(Token = "0x6000C7E")] [Address(RVA = "0x51A170", Offset = "0x518F70", VA = "0x18051A170")] get { return default(DateTime); } } /// Gets or sets the object that represents the private key associated with a certificate. /// An object, which is either an RSA or DSA cryptographic service provider. /// The key value is not an RSA or DSA key, or the key is unreadable. /// The value being set for this property is . /// The key algorithm for this private key is not supported. /// The X.509 keys do not match. /// The cryptographic service provider key is . // Token: 0x1700024B RID: 587 // (get) Token: 0x06000C7F RID: 3199 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700024B")] public AsymmetricAlgorithm PrivateKey { [Token(Token = "0x6000C7F")] [Address(RVA = "0x51A1C0", Offset = "0x518FC0", VA = "0x18051A1C0")] get { return null; } } /// Gets a object associated with a certificate. /// A object. /// The key value is not an RSA or DSA key, or the key is unreadable. // Token: 0x1700024C RID: 588 // (get) Token: 0x06000C80 RID: 3200 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700024C")] public PublicKey PublicKey { [Token(Token = "0x6000C80")] [Address(RVA = "0x51A1F0", Offset = "0x518FF0", VA = "0x18051A1F0")] get { return null; } } /// Gets the serial number of a certificate as a big-endian hexadecimal string. /// The serial number of the certificate as a big-endian hexadecimal string. // Token: 0x1700024D RID: 589 // (get) Token: 0x06000C81 RID: 3201 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700024D")] public string SerialNumber { [Token(Token = "0x6000C81")] [Address(RVA = "0x51A220", Offset = "0x519020", VA = "0x18051A220")] get { return null; } } /// Gets the algorithm used to create the signature of a certificate. /// The object identifier of the signature algorithm. /// The certificate is unreadable. // Token: 0x1700024E RID: 590 // (get) Token: 0x06000C82 RID: 3202 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700024E")] public Oid SignatureAlgorithm { [Token(Token = "0x6000C82")] [Address(RVA = "0x51A240", Offset = "0x519040", VA = "0x18051A240")] get { return null; } } /// Gets the thumbprint of a certificate. /// The thumbprint of the certificate. // Token: 0x1700024F RID: 591 // (get) Token: 0x06000C83 RID: 3203 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700024F")] public string Thumbprint { [Token(Token = "0x6000C83")] [Address(RVA = "0x51A270", Offset = "0x519070", VA = "0x18051A270")] get { return null; } } /// Gets the X.509 format version of a certificate. /// The certificate format. /// The certificate is unreadable. // Token: 0x17000250 RID: 592 // (get) Token: 0x06000C84 RID: 3204 RVA: 0x00006A08 File Offset: 0x00004C08 [Token(Token = "0x17000250")] public int Version { [Token(Token = "0x6000C84")] [Address(RVA = "0x51A290", Offset = "0x519090", VA = "0x18051A290")] get { return 0; } } /// Gets the subject and issuer names from a certificate. /// The value for the subject. /// /// to include the issuer name; otherwise, . /// The name of the certificate. // Token: 0x06000C85 RID: 3205 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000C85")] [Address(RVA = "0x519850", Offset = "0x518650", VA = "0x180519850")] [MonoTODO] public string GetNameInfo(X509NameType nameType, bool forIssuer) { return null; } /// Populates an object using data from a byte array, a password, and flags for determining how to import the private key. /// A byte array containing data from an X.509 certificate. /// The password required to access the X.509 certificate data. /// A bitwise combination of the enumeration values that control where and how to import the certificate. // Token: 0x06000C86 RID: 3206 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C86")] [Address(RVA = "0x5198A0", Offset = "0x5186A0", VA = "0x1805198A0", Slot = "15")] [MonoTODO] public override void Import(byte[] rawData, string password, X509KeyStorageFlags keyStorageFlags) { } /// Resets the state of an object. // Token: 0x06000C87 RID: 3207 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C87")] [Address(RVA = "0x5198E0", Offset = "0x5186E0", VA = "0x1805198E0", Slot = "17")] public override void Reset() { } /// Displays an X.509 certificate in text format. /// The certificate information. // Token: 0x06000C88 RID: 3208 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000C88")] [Address(RVA = "0x519E90", Offset = "0x518C90", VA = "0x180519E90", Slot = "3")] public override string ToString() { return null; } /// Displays an X.509 certificate in text format. /// /// to display the public key, private key, extensions, and so forth; to display information that is similar to the class, including thumbprint, serial number, subject and issuer names, and so on. /// The certificate information. // Token: 0x06000C89 RID: 3209 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000C89")] [Address(RVA = "0x519930", Offset = "0x518730", VA = "0x180519930", Slot = "14")] public override string ToString(bool verbose) { return null; } // Token: 0x06000C8A RID: 3210 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C8A")] [Address(RVA = "0x519790", Offset = "0x518590", VA = "0x180519790")] private static void AppendBuffer(StringBuilder sb, byte[] buffer) { } // Token: 0x040006DC RID: 1756 [FieldOffset(Offset = "0x30")] [Token(Token = "0x40006DC")] private string friendlyName; // Token: 0x040006DD RID: 1757 [Token(Token = "0x40006DD")] private static byte[] signedData; } }