Files
Aug2021-Cpp2IL-Dump/mscorlib/System/Security/Cryptography/CspKeyContainerInfo.cs
T
2026-04-10 22:50:51 +02:00

255 lines
9.5 KiB
C#

using System;
using System.Runtime.InteropServices;
using System.Security.AccessControl;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Provides additional information about a cryptographic key pair. This class cannot be inherited.</summary>
// Token: 0x02000421 RID: 1057
[Token(Token = "0x2000421")]
[ComVisible(true)]
public sealed class CspKeyContainerInfo
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.CspKeyContainerInfo" /> class using the specified parameters.</summary>
/// <param name="parameters">A <see cref="T:System.Security.Cryptography.CspParameters" /> object that provides information about the key.</param>
// Token: 0x0600239F RID: 9119 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600239F")]
[Address(RVA = "0x1241240", Offset = "0x1240040", VA = "0x181241240")]
public CspKeyContainerInfo(CspParameters parameters)
{
}
/// <summary>Gets a value indicating whether a key in a key container is accessible.</summary>
/// <returns>
/// <see langword="true" /> if the key is accessible; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.NotSupportedException">The key type is not supported.</exception>
// Token: 0x170004E9 RID: 1257
// (get) Token: 0x060023A0 RID: 9120 RVA: 0x00015378 File Offset: 0x00013578
[Token(Token = "0x170004E9")]
public bool Accessible
{
[Token(Token = "0x60023A0")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40")]
get
{
return default(bool);
}
}
/// <summary>Gets a <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object that represents access rights and audit rules for a container.</summary>
/// <returns>A <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object that represents access rights and audit rules for a container.</returns>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The key type is not supported.</exception>
/// <exception cref="T:System.NotSupportedException">The cryptographic service provider cannot be found.
/// -or-
/// The key container was not found.</exception>
// Token: 0x170004EA RID: 1258
// (get) Token: 0x060023A1 RID: 9121 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170004EA")]
public CryptoKeySecurity CryptoKeySecurity
{
[Token(Token = "0x60023A1")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630")]
get
{
return null;
}
}
/// <summary>Gets a value indicating whether a key can be exported from a key container.</summary>
/// <returns>
/// <see langword="true" /> if the key can be exported; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.NotSupportedException">The key type is not supported.</exception>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider cannot be found.
/// -or-
/// The key container was not found.</exception>
// Token: 0x170004EB RID: 1259
// (get) Token: 0x060023A2 RID: 9122 RVA: 0x00015390 File Offset: 0x00013590
[Token(Token = "0x170004EB")]
public bool Exportable
{
[Token(Token = "0x60023A2")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40")]
get
{
return default(bool);
}
}
/// <summary>Gets a value indicating whether a key is a hardware key.</summary>
/// <returns>
/// <see langword="true" /> if the key is a hardware key; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider cannot be found.</exception>
// Token: 0x170004EC RID: 1260
// (get) Token: 0x060023A3 RID: 9123 RVA: 0x000153A8 File Offset: 0x000135A8
[Token(Token = "0x170004EC")]
public bool HardwareDevice
{
[Token(Token = "0x60023A3")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930")]
get
{
return default(bool);
}
}
/// <summary>Gets a key container name.</summary>
/// <returns>The key container name.</returns>
// Token: 0x170004ED RID: 1261
// (get) Token: 0x060023A4 RID: 9124 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170004ED")]
public string KeyContainerName
{
[Token(Token = "0x60023A4")]
[Address(RVA = "0x434F10", Offset = "0x433D10", VA = "0x180434F10")]
get
{
return null;
}
}
/// <summary>Gets a value that describes whether an asymmetric key was created as a signature key or an exchange key.</summary>
/// <returns>One of the <see cref="T:System.Security.Cryptography.KeyNumber" /> values that describes whether an asymmetric key was created as a signature key or an exchange key.</returns>
// Token: 0x170004EE RID: 1262
// (get) Token: 0x060023A5 RID: 9125 RVA: 0x000153C0 File Offset: 0x000135C0
[Token(Token = "0x170004EE")]
public KeyNumber KeyNumber
{
[Token(Token = "0x60023A5")]
[Address(RVA = "0x2825CC0", Offset = "0x2824AC0", VA = "0x182825CC0")]
get
{
return (KeyNumber)0;
}
}
/// <summary>Gets a value indicating whether a key is from a machine key set.</summary>
/// <returns>
/// <see langword="true" /> if the key is from the machine key set; otherwise, <see langword="false" />.</returns>
// Token: 0x170004EF RID: 1263
// (get) Token: 0x060023A6 RID: 9126 RVA: 0x000153D8 File Offset: 0x000135D8
[Token(Token = "0x170004EF")]
public bool MachineKeyStore
{
[Token(Token = "0x60023A6")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930")]
get
{
return default(bool);
}
}
/// <summary>Gets a value indicating whether a key pair is protected.</summary>
/// <returns>
/// <see langword="true" /> if the key pair is protected; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.NotSupportedException">The key type is not supported.</exception>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider cannot be found.
/// -or-
/// The key container was not found.</exception>
// Token: 0x170004F0 RID: 1264
// (get) Token: 0x060023A7 RID: 9127 RVA: 0x000153F0 File Offset: 0x000135F0
[Token(Token = "0x170004F0")]
public bool Protected
{
[Token(Token = "0x60023A7")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930")]
get
{
return default(bool);
}
}
/// <summary>Gets the provider name of a key.</summary>
/// <returns>The provider name.</returns>
// Token: 0x170004F1 RID: 1265
// (get) Token: 0x060023A8 RID: 9128 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170004F1")]
public string ProviderName
{
[Token(Token = "0x60023A8")]
[Address(RVA = "0x434BE0", Offset = "0x4339E0", VA = "0x180434BE0")]
get
{
return null;
}
}
/// <summary>Gets the provider type of a key.</summary>
/// <returns>The provider type. The default is 1.</returns>
// Token: 0x170004F2 RID: 1266
// (get) Token: 0x060023A9 RID: 9129 RVA: 0x00015408 File Offset: 0x00013608
[Token(Token = "0x170004F2")]
public int ProviderType
{
[Token(Token = "0x60023A9")]
[Address(RVA = "0x2837530", Offset = "0x2836330", VA = "0x182837530")]
get
{
return 0;
}
}
/// <summary>Gets a value indicating whether a key container was randomly generated by a managed cryptography class.</summary>
/// <returns>
/// <see langword="true" /> if the key container was randomly generated; otherwise, <see langword="false" />.</returns>
// Token: 0x170004F3 RID: 1267
// (get) Token: 0x060023AA RID: 9130 RVA: 0x00015420 File Offset: 0x00013620
[Token(Token = "0x170004F3")]
public bool RandomlyGenerated
{
[Token(Token = "0x60023AA")]
[Address(RVA = "0x42C2C0", Offset = "0x42B0C0", VA = "0x18042C2C0")]
get
{
return default(bool);
}
}
/// <summary>Gets a value indicating whether a key can be removed from a key container.</summary>
/// <returns>
/// <see langword="true" /> if the key is removable; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) was not found.</exception>
// Token: 0x170004F4 RID: 1268
// (get) Token: 0x060023AB RID: 9131 RVA: 0x00015438 File Offset: 0x00013638
[Token(Token = "0x170004F4")]
public bool Removable
{
[Token(Token = "0x60023AB")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930")]
get
{
return default(bool);
}
}
/// <summary>Gets a unique key container name.</summary>
/// <returns>The unique key container name.</returns>
/// <exception cref="T:System.NotSupportedException">The key type is not supported.</exception>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider cannot be found.
/// -or-
/// The key container was not found.</exception>
// Token: 0x170004F5 RID: 1269
// (get) Token: 0x060023AC RID: 9132 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170004F5")]
public string UniqueKeyContainerName
{
[Token(Token = "0x60023AC")]
[Address(RVA = "0x2DA1C60", Offset = "0x2DA0A60", VA = "0x182DA1C60")]
get
{
return null;
}
}
// Token: 0x04001433 RID: 5171
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001433")]
private CspParameters _params;
// Token: 0x04001434 RID: 5172
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001434")]
internal bool _random;
}
}