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: 0x020003DC RID: 988
[Token(Token = "0x20003DC")]
[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: 0x1700048B RID: 1163
// (get) Token: 0x06002149 RID: 8521 RVA: 0x000147C0 File Offset: 0x000129C0
// (set) Token: 0x0600214A RID: 8522 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700048B")]
public CspProviderFlags Flags
{
[Token(Token = "0x6002149")]
[Address(RVA = "0x42EED0", Offset = "0x42DCD0", VA = "0x18042EED0")]
get
{
return CspProviderFlags.NoFlags;
}
[Token(Token = "0x600214A")]
[Address(RVA = "0x2DA1FA0", Offset = "0x2DA0DA0", VA = "0x182DA1FA0")]
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: 0x1700048C RID: 1164
// (get) Token: 0x0600214B RID: 8523 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x0600214C RID: 8524 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700048C")]
public CryptoKeySecurity CryptoKeySecurity
{
[Token(Token = "0x600214B")]
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")]
get
{
return null;
}
[Token(Token = "0x600214C")]
[Address(RVA = "0x4437E0", Offset = "0x4425E0", VA = "0x1804437E0")]
set
{
}
}
/// Gets or sets a password associated with a smart card key.
/// A password associated with a smart card key.
// Token: 0x1700048D RID: 1165
// (get) Token: 0x0600214D RID: 8525 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x0600214E RID: 8526 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700048D")]
public SecureString KeyPassword
{
[Token(Token = "0x600214D")]
[Address(RVA = "0x3F63D0", Offset = "0x3F51D0", VA = "0x1803F63D0")]
get
{
return null;
}
[Token(Token = "0x600214E")]
[Address(RVA = "0x2DA2080", Offset = "0x2DA0E80", VA = "0x182DA2080")]
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: 0x1700048E RID: 1166
// (get) Token: 0x0600214F RID: 8527 RVA: 0x000147D8 File Offset: 0x000129D8
// (set) Token: 0x06002150 RID: 8528 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700048E")]
public IntPtr ParentWindowHandle
{
[Token(Token = "0x600214F")]
[Address(RVA = "0x408890", Offset = "0x407690", VA = "0x180408890")]
get
{
return 0;
}
[Token(Token = "0x6002150")]
[Address(RVA = "0x2DA20E0", Offset = "0x2DA0EE0", VA = "0x182DA20E0")]
set
{
}
}
/// Initializes a new instance of the class.
// Token: 0x06002151 RID: 8529 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002151")]
[Address(RVA = "0x2DA1E40", Offset = "0x2DA0C40", VA = "0x182DA1E40")]
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: 0x06002152 RID: 8530 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002152")]
[Address(RVA = "0x2DA1EF0", Offset = "0x2DA0CF0", VA = "0x182DA1EF0")]
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: 0x06002153 RID: 8531 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002153")]
[Address(RVA = "0x2DA1CB0", Offset = "0x2DA0AB0", VA = "0x182DA1CB0")]
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: 0x06002154 RID: 8532 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002154")]
[Address(RVA = "0x2DA1F40", Offset = "0x2DA0D40", VA = "0x182DA1F40")]
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: 0x06002155 RID: 8533 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002155")]
[Address(RVA = "0x2DA1D00", Offset = "0x2DA0B00", VA = "0x182DA1D00")]
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: 0x06002156 RID: 8534 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002156")]
[Address(RVA = "0x2DA1DD0", Offset = "0x2DA0BD0", VA = "0x182DA1DD0")]
public CspParameters(int providerType, string providerName, string keyContainerName, CryptoKeySecurity cryptoKeySecurity, IntPtr parentWindowHandle)
{
}
// Token: 0x06002157 RID: 8535 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002157")]
[Address(RVA = "0x2DA1D70", Offset = "0x2DA0B70", VA = "0x182DA1D70")]
internal CspParameters(int providerType, string providerName, string keyContainerName, CspProviderFlags flags)
{
}
// Token: 0x06002158 RID: 8536 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002158")]
[Address(RVA = "0x2DA1E80", Offset = "0x2DA0C80", VA = "0x182DA1E80")]
internal CspParameters(CspParameters parameters)
{
}
/// Represents the provider type code for .
// Token: 0x04001315 RID: 4885
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001315")]
public int ProviderType;
/// Represents the provider name for .
// Token: 0x04001316 RID: 4886
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001316")]
public string ProviderName;
/// Represents the key container name for .
// Token: 0x04001317 RID: 4887
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001317")]
public string KeyContainerName;
/// Specifies whether an asymmetric key is created as a signature key or an exchange key.
// Token: 0x04001318 RID: 4888
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4001318")]
public int KeyNumber;
// Token: 0x04001319 RID: 4889
[global::Cpp2IlInjected.FieldOffset(Offset = "0x2C")]
[Token(Token = "0x4001319")]
private int m_flags;
// Token: 0x0400131A RID: 4890
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x400131A")]
private CryptoKeySecurity m_cryptoKeySecurity;
// Token: 0x0400131B RID: 4891
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x400131B")]
private SecureString m_keyPassword;
// Token: 0x0400131C RID: 4892
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x400131C")]
private IntPtr m_parentWindowHandle;
}
}