using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// Accesses the cryptography configuration information.
// Token: 0x02000420 RID: 1056
[Token(Token = "0x2000420")]
[ComVisible(true)]
public class CryptoConfig
{
/// Encodes the specified object identifier (OID).
/// The OID to encode.
/// A byte array containing the encoded OID.
/// The parameter is .
/// An error occurred while encoding the OID.
// Token: 0x06002395 RID: 9109 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002395")]
[Address(RVA = "0x298CF90", Offset = "0x298BD90", VA = "0x18298CF90")]
public static byte[] EncodeOID(string str)
{
return null;
}
// Token: 0x06002396 RID: 9110 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002396")]
[Address(RVA = "0x298CE00", Offset = "0x298BC00", VA = "0x18298CE00")]
private static byte[] EncodeLongNumber(long x)
{
return null;
}
/// Indicates whether the runtime should enforce the policy to create only Federal Information Processing Standard (FIPS) certified algorithms.
///
/// to enforce the policy; otherwise, .
// Token: 0x170004E8 RID: 1256
// (get) Token: 0x06002397 RID: 9111 RVA: 0x00015360 File Offset: 0x00013560
[Token(Token = "0x170004E8")]
[MonoLimitation("nothing is FIPS certified so it never make sense to restrict to this (empty) subset")]
public static bool AllowOnlyFipsAlgorithms
{
[Token(Token = "0x6002397")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930")]
get
{
return default(bool);
}
}
/// Adds a set of names to algorithm mappings to be used for the current application domain.
/// The algorithm to map to.
/// An array of names to map to the algorithm.
/// The or parameter is .
///
/// cannot be accessed from outside the assembly.
/// -or-
/// One of the entries in the parameter is empty or .
// Token: 0x06002398 RID: 9112 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002398")]
[Address(RVA = "0x298BB00", Offset = "0x298A900", VA = "0x18298BB00")]
public static void AddAlgorithm(Type algorithm, params string[] names)
{
}
/// Adds a set of names to object identifier (OID) mappings to be used for the current application domain.
/// The object identifier (OID) to map to.
/// An array of names to map to the OID.
/// The or parameter is .
/// One of the entries in the parameter is empty or .
// Token: 0x06002399 RID: 9113 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002399")]
[Address(RVA = "0x298BB50", Offset = "0x298A950", VA = "0x18298BB50")]
public static void AddOID(string oid, params string[] names)
{
}
/// Creates a new instance of the specified cryptographic object.
/// The simple name of the cryptographic object of which to create an instance.
/// A new instance of the specified cryptographic object.
/// The parameter is .
/// The algorithm described by the parameter was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.
// Token: 0x0600239A RID: 9114 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600239A")]
[Address(RVA = "0x298CDF0", Offset = "0x298BBF0", VA = "0x18298CDF0")]
public static object CreateFromName(string name)
{
return null;
}
/// Creates a new instance of the specified cryptographic object with the specified arguments.
/// The simple name of the cryptographic object of which to create an instance.
/// The arguments used to create the specified cryptographic object.
/// A new instance of the specified cryptographic object.
/// The parameter is .
/// The algorithm described by the parameter was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.
// Token: 0x0600239B RID: 9115 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600239B")]
[Address(RVA = "0x298BBA0", Offset = "0x298A9A0", VA = "0x18298BBA0")]
public static object CreateFromName(string name, params object[] args)
{
return null;
}
// Token: 0x0600239C RID: 9116 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600239C")]
[Address(RVA = "0x298D3E0", Offset = "0x298C1E0", VA = "0x18298D3E0")]
internal static string MapNameToOID(string name, object arg)
{
return null;
}
/// Gets the object identifier (OID) of the algorithm corresponding to the specified simple name.
/// The simple name of the algorithm for which to get the OID.
/// The OID of the specified algorithm.
/// The parameter is .
// Token: 0x0600239D RID: 9117 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600239D")]
[Address(RVA = "0x298D3F0", Offset = "0x298C1F0", VA = "0x18298D3F0")]
public static string MapNameToOID(string name)
{
return null;
}
/// Initializes a new instance of the class.
// Token: 0x0600239E RID: 9118 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600239E")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
public CryptoConfig()
{
}
}
}