m
This commit is contained in:
@@ -0,0 +1,133 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Security.Cryptography
|
||||
{
|
||||
/// <summary>Accesses the cryptography configuration information.</summary>
|
||||
// Token: 0x0200043C RID: 1084
|
||||
[Token(Token = "0x200043C")]
|
||||
[ComVisible(true)]
|
||||
public class CryptoConfig
|
||||
{
|
||||
/// <summary>Encodes the specified object identifier (OID).</summary>
|
||||
/// <param name="str">The OID to encode.</param>
|
||||
/// <returns>A byte array containing the encoded OID.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="str" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Security.Cryptography.CryptographicUnexpectedOperationException">An error occurred while encoding the OID.</exception>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Indicates whether the runtime should enforce the policy to create only Federal Information Processing Standard (FIPS) certified algorithms.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> to enforce the policy; otherwise, <see langword="false" />.</returns>
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Adds a set of names to algorithm mappings to be used for the current application domain.</summary>
|
||||
/// <param name="algorithm">The algorithm to map to.</param>
|
||||
/// <param name="names">An array of names to map to the algorithm.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="algorithm" /> or <paramref name="names" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="algorithm" /> cannot be accessed from outside the assembly.
|
||||
/// -or-
|
||||
/// One of the entries in the <paramref name="names" /> parameter is empty or <see langword="null" />.</exception>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Adds a set of names to object identifier (OID) mappings to be used for the current application domain.</summary>
|
||||
/// <param name="oid">The object identifier (OID) to map to.</param>
|
||||
/// <param name="names">An array of names to map to the OID.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="oid" /> or <paramref name="names" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">One of the entries in the <paramref name="names" /> parameter is empty or <see langword="null" />.</exception>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates a new instance of the specified cryptographic object.</summary>
|
||||
/// <param name="name">The simple name of the cryptographic object of which to create an instance.</param>
|
||||
/// <returns>A new instance of the specified cryptographic object.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Reflection.TargetInvocationException">The algorithm described by the <paramref name="name" /> parameter was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.</exception>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Creates a new instance of the specified cryptographic object with the specified arguments.</summary>
|
||||
/// <param name="name">The simple name of the cryptographic object of which to create an instance.</param>
|
||||
/// <param name="args">The arguments used to create the specified cryptographic object.</param>
|
||||
/// <returns>A new instance of the specified cryptographic object.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Reflection.TargetInvocationException">The algorithm described by the <paramref name="name" /> parameter was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.</exception>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Gets the object identifier (OID) of the algorithm corresponding to the specified simple name.</summary>
|
||||
/// <param name="name">The simple name of the algorithm for which to get the OID.</param>
|
||||
/// <returns>The OID of the specified algorithm.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.CryptoConfig" /> class.</summary>
|
||||
// Token: 0x060025AA RID: 9642 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60025AA")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
public CryptoConfig()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user