Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Security/Cryptography/CspKeyContainerInfo.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x0200043D RID: 1085
[Token(Token = "0x200043D")]
[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: 0x060025AB RID: 9643 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60025AB")]
[Address(RVA = "0xC039D0", Offset = "0xC029D0", VA = "0x180C039D0")]
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: 0x17000560 RID: 1376
// (get) Token: 0x060025AC RID: 9644 RVA: 0x00017748 File Offset: 0x00015948
[Token(Token = "0x17000560")]
public bool Accessible
{
[Token(Token = "0x60025AC")]
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0")]
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: 0x17000561 RID: 1377
// (get) Token: 0x060025AD RID: 9645 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000561")]
public CryptoKeySecurity CryptoKeySecurity
{
[Token(Token = "0x60025AD")]
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0")]
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: 0x17000562 RID: 1378
// (get) Token: 0x060025AE RID: 9646 RVA: 0x00017760 File Offset: 0x00015960
[Token(Token = "0x17000562")]
public bool Exportable
{
[Token(Token = "0x60025AE")]
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0")]
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: 0x17000563 RID: 1379
// (get) Token: 0x060025AF RID: 9647 RVA: 0x00017778 File Offset: 0x00015978
[Token(Token = "0x17000563")]
public bool HardwareDevice
{
[Token(Token = "0x60025AF")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690")]
get
{
return default(bool);
}
}
/// <summary>Gets a key container name.</summary>
/// <returns>The key container name.</returns>
// Token: 0x17000564 RID: 1380
// (get) Token: 0x060025B0 RID: 9648 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000564")]
public string KeyContainerName
{
[Token(Token = "0x60025B0")]
[Address(RVA = "0xC03A00", Offset = "0xC02A00", VA = "0x180C03A00")]
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: 0x17000565 RID: 1381
// (get) Token: 0x060025B1 RID: 9649 RVA: 0x00017790 File Offset: 0x00015990
[Token(Token = "0x17000565")]
public KeyNumber KeyNumber
{
[Token(Token = "0x60025B1")]
[Address(RVA = "0xC03A20", Offset = "0xC02A20", VA = "0x180C03A20")]
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: 0x17000566 RID: 1382
// (get) Token: 0x060025B2 RID: 9650 RVA: 0x000177A8 File Offset: 0x000159A8
[Token(Token = "0x17000566")]
public bool MachineKeyStore
{
[Token(Token = "0x60025B2")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690")]
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: 0x17000567 RID: 1383
// (get) Token: 0x060025B3 RID: 9651 RVA: 0x000177C0 File Offset: 0x000159C0
[Token(Token = "0x17000567")]
public bool Protected
{
[Token(Token = "0x60025B3")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690")]
get
{
return default(bool);
}
}
/// <summary>Gets the provider name of a key.</summary>
/// <returns>The provider name.</returns>
// Token: 0x17000568 RID: 1384
// (get) Token: 0x060025B4 RID: 9652 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000568")]
public string ProviderName
{
[Token(Token = "0x60025B4")]
[Address(RVA = "0x423ED0", Offset = "0x422ED0", VA = "0x180423ED0")]
get
{
return null;
}
}
/// <summary>Gets the provider type of a key.</summary>
/// <returns>The provider type. The default is 1.</returns>
// Token: 0x17000569 RID: 1385
// (get) Token: 0x060025B5 RID: 9653 RVA: 0x000177D8 File Offset: 0x000159D8
[Token(Token = "0x17000569")]
public int ProviderType
{
[Token(Token = "0x60025B5")]
[Address(RVA = "0xC03A40", Offset = "0xC02A40", VA = "0x180C03A40")]
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: 0x1700056A RID: 1386
// (get) Token: 0x060025B6 RID: 9654 RVA: 0x000177F0 File Offset: 0x000159F0
[Token(Token = "0x1700056A")]
public bool RandomlyGenerated
{
[Token(Token = "0x60025B6")]
[Address(RVA = "0x497570", Offset = "0x496570", VA = "0x180497570")]
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: 0x1700056B RID: 1387
// (get) Token: 0x060025B7 RID: 9655 RVA: 0x00017808 File Offset: 0x00015A08
[Token(Token = "0x1700056B")]
public bool Removable
{
[Token(Token = "0x60025B7")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690")]
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: 0x1700056C RID: 1388
// (get) Token: 0x060025B8 RID: 9656 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700056C")]
public string UniqueKeyContainerName
{
[Token(Token = "0x60025B8")]
[Address(RVA = "0xC03A60", Offset = "0xC02A60", VA = "0x180C03A60")]
get
{
return null;
}
}
// Token: 0x040014F6 RID: 5366
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40014F6")]
private CspParameters _params;
// Token: 0x040014F7 RID: 5367
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40014F7")]
internal bool _random;
}
}