Class CpCryptoConfig
Inheritance
CpCryptoConfig
Assembly: CryptoPro.Security.Cryptography.dll
Syntax
public class CpCryptoConfig
Properties
AllowOnlyFipsAlgorithms
Declaration
public static bool AllowOnlyFipsAlgorithms { get; }
Property Value
Methods
AddAlgorithm(Type, params string[])
Declaration
public static void AddAlgorithm(Type algorithm, params string[] names)
Parameters
Type |
Name |
Description |
Type |
algorithm |
|
string[] |
names |
|
AddOID(string, params string[])
Declaration
public static void AddOID(string oid, params string[] names)
Parameters
CreateFromName(string)
Declaration
public static object CreateFromName(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
CreateFromName(string, params object[])
Declaration
public static object CreateFromName(string name, params object[] args)
Parameters
Returns
EncodeOID(string)
Declaration
public static byte[] EncodeOID(string str)
Parameters
Type |
Name |
Description |
string |
str |
|
Returns
MapNameToOID(string)
Declaration
public static string MapNameToOID(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns