using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// Accesses the cryptography configuration information.
// Token: 0x0200043C RID: 1084
[Token(Token = "0x200043C")]
[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: 0x060025A1 RID: 9633 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60025A1")]
[Address(RVA = "0xC01120", Offset = "0xC00120", VA = "0x180C01120")]
public static byte[] EncodeOID(string str)
{
return null;
}
// Token: 0x060025A2 RID: 9634 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60025A2")]
[Address(RVA = "0xC00F90", Offset = "0xBFFF90", VA = "0x180C00F90")]
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: 0x1700055F RID: 1375
// (get) Token: 0x060025A3 RID: 9635 RVA: 0x00017730 File Offset: 0x00015930
[Token(Token = "0x1700055F")]
[MonoLimitation("nothing is FIPS certified so it never make sense to restrict to this (empty) subset")]
public static bool AllowOnlyFipsAlgorithms
{
[Token(Token = "0x60025A3")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690")]
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: 0x060025A4 RID: 9636 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60025A4")]
[Address(RVA = "0xBFF800", Offset = "0xBFE800", VA = "0x180BFF800")]
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: 0x060025A5 RID: 9637 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60025A5")]
[Address(RVA = "0xBFF850", Offset = "0xBFE850", VA = "0x180BFF850")]
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: 0x060025A6 RID: 9638 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60025A6")]
[Address(RVA = "0xC00F80", Offset = "0xBFFF80", VA = "0x180C00F80")]
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: 0x060025A7 RID: 9639 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60025A7")]
[Address(RVA = "0xBFF8A0", Offset = "0xBFE8A0", VA = "0x180BFF8A0")]
public static object CreateFromName(string name, params object[] args)
{
return null;
}
// Token: 0x060025A8 RID: 9640 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60025A8")]
[Address(RVA = "0xC01570", Offset = "0xC00570", VA = "0x180C01570")]
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: 0x060025A9 RID: 9641 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60025A9")]
[Address(RVA = "0xC01580", Offset = "0xC00580", VA = "0x180C01580")]
public static string MapNameToOID(string name)
{
return null;
}
/// Initializes a new instance of the class.
// Token: 0x060025AA RID: 9642 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60025AA")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
public CryptoConfig()
{
}
}
}