using System;
using System.Runtime.InteropServices;
using System.Security.AccessControl;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// Contains parameters that are passed to the cryptographic service provider (CSP) that performs cryptographic computations. This class cannot be inherited.
// Token: 0x020003F8 RID: 1016
[Token(Token = "0x20003F8")]
[ComVisible(true)]
public sealed class CspParameters
{
/// Represents the flags for that modify the behavior of the cryptographic service provider (CSP).
/// An enumeration value, or a bitwise combination of enumeration values.
/// Value is not a valid enumeration value.
// Token: 0x17000502 RID: 1282
// (get) Token: 0x06002355 RID: 9045 RVA: 0x00016B90 File Offset: 0x00014D90
// (set) Token: 0x06002356 RID: 9046 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000502")]
public CspProviderFlags Flags
{
[Token(Token = "0x6002355")]
[Address(RVA = "0x4B5010", Offset = "0x4B4010", VA = "0x1804B5010")]
get
{
return CspProviderFlags.NoFlags;
}
[Token(Token = "0x6002356")]
[Address(RVA = "0xC03DA0", Offset = "0xC02DA0", VA = "0x180C03DA0")]
set
{
}
}
/// Gets or sets a object that represents access rights and audit rules for a container.
/// A object that represents access rights and audit rules for a container.
// Token: 0x17000503 RID: 1283
// (get) Token: 0x06002357 RID: 9047 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x06002358 RID: 9048 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000503")]
public CryptoKeySecurity CryptoKeySecurity
{
[Token(Token = "0x6002357")]
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")]
get
{
return null;
}
[Token(Token = "0x6002358")]
[Address(RVA = "0x415830", Offset = "0x414830", VA = "0x180415830")]
set
{
}
}
/// Gets or sets a password associated with a smart card key.
/// A password associated with a smart card key.
// Token: 0x17000504 RID: 1284
// (get) Token: 0x06002359 RID: 9049 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x0600235A RID: 9050 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000504")]
public SecureString KeyPassword
{
[Token(Token = "0x6002359")]
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0")]
get
{
return null;
}
[Token(Token = "0x600235A")]
[Address(RVA = "0xC03E80", Offset = "0xC02E80", VA = "0x180C03E80")]
set
{
}
}
/// Gets or sets a handle to the unmanaged parent window for a smart card password dialog box.
/// A handle to the parent window for a smart card password dialog box.
// Token: 0x17000505 RID: 1285
// (get) Token: 0x0600235B RID: 9051 RVA: 0x00016BA8 File Offset: 0x00014DA8
// (set) Token: 0x0600235C RID: 9052 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000505")]
public IntPtr ParentWindowHandle
{
[Token(Token = "0x600235B")]
[Address(RVA = "0x417680", Offset = "0x416680", VA = "0x180417680")]
get
{
return 0;
}
[Token(Token = "0x600235C")]
[Address(RVA = "0xC03EE0", Offset = "0xC02EE0", VA = "0x180C03EE0")]
set
{
}
}
/// Initializes a new instance of the class.
// Token: 0x0600235D RID: 9053 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600235D")]
[Address(RVA = "0xC03C40", Offset = "0xC02C40", VA = "0x180C03C40")]
public CspParameters()
{
}
/// Initializes a new instance of the class with the specified provider type code.
/// A provider type code that specifies the kind of provider to create.
// Token: 0x0600235E RID: 9054 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600235E")]
[Address(RVA = "0xC03CF0", Offset = "0xC02CF0", VA = "0x180C03CF0")]
public CspParameters(int dwTypeIn)
{
}
/// Initializes a new instance of the class with the specified provider type code and name.
/// A provider type code that specifies the kind of provider to create.
/// A provider name.
// Token: 0x0600235F RID: 9055 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600235F")]
[Address(RVA = "0xC03AB0", Offset = "0xC02AB0", VA = "0x180C03AB0")]
public CspParameters(int dwTypeIn, string strProviderNameIn)
{
}
/// Initializes a new instance of the class with the specified provider type code and name, and the specified container name.
/// The provider type code that specifies the kind of provider to create.
/// A provider name.
/// A container name.
// Token: 0x06002360 RID: 9056 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002360")]
[Address(RVA = "0xC03D40", Offset = "0xC02D40", VA = "0x180C03D40")]
public CspParameters(int dwTypeIn, string strProviderNameIn, string strContainerNameIn)
{
}
/// Initializes a new instance of the class using a provider type, a provider name, a container name, access information, and a password associated with a smart card key.
/// The provider type code that specifies the kind of provider to create.
/// A provider name.
/// A container name.
/// An object that represents access rights and audit rules for a container.
/// A password associated with a smart card key.
// Token: 0x06002361 RID: 9057 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002361")]
[Address(RVA = "0xC03B00", Offset = "0xC02B00", VA = "0x180C03B00")]
public CspParameters(int providerType, string providerName, string keyContainerName, CryptoKeySecurity cryptoKeySecurity, SecureString keyPassword)
{
}
/// Initializes a new instance of the class using a provider type, a provider name, a container name, access information, and a handle to an unmanaged smart card password dialog.
/// The provider type code that specifies the kind of provider to create.
/// A provider name.
/// A container name.
/// An object that represents access rights and audit rules for the container.
/// A handle to the parent window for a smart card password dialog.
// Token: 0x06002362 RID: 9058 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002362")]
[Address(RVA = "0xC03BD0", Offset = "0xC02BD0", VA = "0x180C03BD0")]
public CspParameters(int providerType, string providerName, string keyContainerName, CryptoKeySecurity cryptoKeySecurity, IntPtr parentWindowHandle)
{
}
// Token: 0x06002363 RID: 9059 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002363")]
[Address(RVA = "0xC03B70", Offset = "0xC02B70", VA = "0x180C03B70")]
internal CspParameters(int providerType, string providerName, string keyContainerName, CspProviderFlags flags)
{
}
// Token: 0x06002364 RID: 9060 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002364")]
[Address(RVA = "0xC03C80", Offset = "0xC02C80", VA = "0x180C03C80")]
internal CspParameters(CspParameters parameters)
{
}
/// Represents the provider type code for .
// Token: 0x040013D8 RID: 5080
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40013D8")]
public int ProviderType;
/// Represents the provider name for .
// Token: 0x040013D9 RID: 5081
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40013D9")]
public string ProviderName;
/// Represents the key container name for .
// Token: 0x040013DA RID: 5082
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x40013DA")]
public string KeyContainerName;
/// Specifies whether an asymmetric key is created as a signature key or an exchange key.
// Token: 0x040013DB RID: 5083
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x40013DB")]
public int KeyNumber;
// Token: 0x040013DC RID: 5084
[global::Cpp2IlInjected.FieldOffset(Offset = "0x2C")]
[Token(Token = "0x40013DC")]
private int m_flags;
// Token: 0x040013DD RID: 5085
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x40013DD")]
private CryptoKeySecurity m_cryptoKeySecurity;
// Token: 0x040013DE RID: 5086
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x40013DE")]
private SecureString m_keyPassword;
// Token: 0x040013DF RID: 5087
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x40013DF")]
private IntPtr m_parentWindowHandle;
}
}