using System; using System.Runtime.Serialization; using System.Text; using Cpp2IlInjected; namespace System.Security.Cryptography.X509Certificates { /// Represents an X.509 certificate. // Token: 0x020001DD RID: 477 [Token(Token = "0x20001DD")] [Serializable] public class X509Certificate2 : X509Certificate { // Token: 0x17000244 RID: 580 // (get) Token: 0x06000C63 RID: 3171 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000244")] internal X509Certificate2Impl Impl { [Token(Token = "0x6000C63")] [Address(RVA = "0xC8D320", Offset = "0xC8C320", VA = "0x180C8D320")] get { return null; } } /// Initializes a new instance of the class. // Token: 0x06000C64 RID: 3172 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C64")] [Address(RVA = "0xC8D2D0", Offset = "0xC8C2D0", VA = "0x180C8D2D0")] 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: 0x06000C65 RID: 3173 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C65")] [Address(RVA = "0xC8D260", Offset = "0xC8C260", VA = "0x180C8D260")] 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: 0x06000C66 RID: 3174 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C66")] [Address(RVA = "0xC8D1E0", Offset = "0xC8C1E0", VA = "0x180C8D1E0")] 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: 0x17000245 RID: 581 // (get) Token: 0x06000C67 RID: 3175 RVA: 0x000069C0 File Offset: 0x00004BC0 [Token(Token = "0x17000245")] public DateTime NotAfter { [Token(Token = "0x6000C67")] [Address(RVA = "0xC8D3B0", Offset = "0xC8C3B0", VA = "0x180C8D3B0")] 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: 0x17000246 RID: 582 // (get) Token: 0x06000C68 RID: 3176 RVA: 0x000069D8 File Offset: 0x00004BD8 [Token(Token = "0x17000246")] public DateTime NotBefore { [Token(Token = "0x6000C68")] [Address(RVA = "0xC8D400", Offset = "0xC8C400", VA = "0x180C8D400")] 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: 0x17000247 RID: 583 // (get) Token: 0x06000C69 RID: 3177 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000247")] public AsymmetricAlgorithm PrivateKey { [Token(Token = "0x6000C69")] [Address(RVA = "0xC8D450", Offset = "0xC8C450", VA = "0x180C8D450")] 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: 0x17000248 RID: 584 // (get) Token: 0x06000C6A RID: 3178 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000248")] public PublicKey PublicKey { [Token(Token = "0x6000C6A")] [Address(RVA = "0xC8D480", Offset = "0xC8C480", VA = "0x180C8D480")] 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: 0x17000249 RID: 585 // (get) Token: 0x06000C6B RID: 3179 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000249")] public string SerialNumber { [Token(Token = "0x6000C6B")] [Address(RVA = "0x85E3F0", Offset = "0x85D3F0", VA = "0x18085E3F0")] 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: 0x1700024A RID: 586 // (get) Token: 0x06000C6C RID: 3180 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700024A")] public Oid SignatureAlgorithm { [Token(Token = "0x6000C6C")] [Address(RVA = "0xC8D4B0", Offset = "0xC8C4B0", VA = "0x180C8D4B0")] get { return null; } } /// Gets the thumbprint of a certificate. /// The thumbprint of the certificate. // Token: 0x1700024B RID: 587 // (get) Token: 0x06000C6D RID: 3181 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700024B")] public string Thumbprint { [Token(Token = "0x6000C6D")] [Address(RVA = "0xC8D4E0", Offset = "0xC8C4E0", VA = "0x180C8D4E0")] get { return null; } } /// Gets the X.509 format version of a certificate. /// The certificate format. /// The certificate is unreadable. // Token: 0x1700024C RID: 588 // (get) Token: 0x06000C6E RID: 3182 RVA: 0x000069F0 File Offset: 0x00004BF0 [Token(Token = "0x1700024C")] public int Version { [Token(Token = "0x6000C6E")] [Address(RVA = "0xC8D500", Offset = "0xC8C500", VA = "0x180C8D500")] 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: 0x06000C6F RID: 3183 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000C6F")] [Address(RVA = "0xC8CAE0", Offset = "0xC8BAE0", VA = "0x180C8CAE0")] [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: 0x06000C70 RID: 3184 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C70")] [Address(RVA = "0xC8CB30", Offset = "0xC8BB30", VA = "0x180C8CB30", Slot = "15")] [MonoTODO] public override void Import(byte[] rawData, string password, X509KeyStorageFlags keyStorageFlags) { } /// Resets the state of an object. // Token: 0x06000C71 RID: 3185 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C71")] [Address(RVA = "0xC8CB70", Offset = "0xC8BB70", VA = "0x180C8CB70", Slot = "17")] public override void Reset() { } /// Displays an X.509 certificate in text format. /// The certificate information. // Token: 0x06000C72 RID: 3186 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000C72")] [Address(RVA = "0xC8D120", Offset = "0xC8C120", VA = "0x180C8D120", 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: 0x06000C73 RID: 3187 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000C73")] [Address(RVA = "0xC8CBC0", Offset = "0xC8BBC0", VA = "0x180C8CBC0", Slot = "14")] public override string ToString(bool verbose) { return null; } // Token: 0x06000C74 RID: 3188 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000C74")] [Address(RVA = "0xC8CA20", Offset = "0xC8BA20", VA = "0x180C8CA20")] private static void AppendBuffer(StringBuilder sb, byte[] buffer) { } // Token: 0x040006CF RID: 1743 [FieldOffset(Offset = "0x30")] [Token(Token = "0x40006CF")] private string friendlyName; // Token: 0x040006D0 RID: 1744 [Token(Token = "0x40006D0")] private static byte[] signedData; } }