TripleDESCng Konstruktory

Definice

Inicializuje novou instanci TripleDESCng třídy.

Přetížení

Name Description
TripleDESCng()

Inicializuje novou instanci TripleDESCng třídy dočasným klíčem.

TripleDESCng(String)

Inicializuje novou instanci TripleDESCng třídy se zadaným názvem klíče, který představuje existující trvalý 3DES klíč.

TripleDESCng(String, CngProvider)

Inicializuje novou instanci TripleDESCng třídy se zadaným názvem klíče, který představuje existující trvalý klíč 3DES a zadaný zprostředkovatel úložiště klíčů (KSP).

TripleDESCng(String, CngProvider, CngKeyOpenOptions)

Inicializuje novou instanci TripleDESCng třídy se zadaným názvem klíče, který představuje existující trvalý klíč 3DES, zadaný zprostředkovatel úložiště klíčů (KSP) a možnosti otevření klíče.

TripleDESCng()

Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs

Inicializuje novou instanci TripleDESCng třídy dočasným klíčem.

public:
 TripleDESCng();
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public TripleDESCng();
public TripleDESCng();
Public Sub New ()
Atributy

Platí pro

TripleDESCng(String)

Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs

Inicializuje novou instanci TripleDESCng třídy se zadaným názvem klíče, který představuje existující trvalý 3DES klíč.

public:
 TripleDESCng(System::String ^ keyName);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public TripleDESCng(string keyName);
public TripleDESCng(string keyName);
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
new System.Security.Cryptography.TripleDESCng : string -> System.Security.Cryptography.TripleDESCng
new System.Security.Cryptography.TripleDESCng : string -> System.Security.Cryptography.TripleDESCng
Public Sub New (keyName As String)

Parametry

keyName
String

Název klíče.

Atributy

Výjimky

keyName je null.

Kryptografie next Generation (CNG) není v tomto systému podporována.

Všechny ostatní chyby.

Poznámky

Tento konstruktor používá k otevření klíče výchozí CngKeyOpenOptions hodnotu None a MicrosoftSoftwareKeyStorageProvider jako výchozího zprostředkovatele úložiště klíčů (KSP).

Viz také

Platí pro

TripleDESCng(String, CngProvider)

Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs

Inicializuje novou instanci TripleDESCng třídy se zadaným názvem klíče, který představuje existující trvalý klíč 3DES a zadaný zprostředkovatel úložiště klíčů (KSP).

public:
 TripleDESCng(System::String ^ keyName, System::Security::Cryptography::CngProvider ^ provider);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public TripleDESCng(string keyName, System.Security.Cryptography.CngProvider provider);
public TripleDESCng(string keyName, System.Security.Cryptography.CngProvider provider);
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
new System.Security.Cryptography.TripleDESCng : string * System.Security.Cryptography.CngProvider -> System.Security.Cryptography.TripleDESCng
new System.Security.Cryptography.TripleDESCng : string * System.Security.Cryptography.CngProvider -> System.Security.Cryptography.TripleDESCng
Public Sub New (keyName As String, provider As CngProvider)

Parametry

keyName
String

Název klíče.

provider
CngProvider

KSP, který obsahuje klíč.

Atributy

Výjimky

keyName je null.

nebo

provider je null.

Kryptografie next Generation (CNG) není v tomto systému podporována.

Všechny ostatní chyby.

Poznámky

Výchozí CngKeyOpenOptions hodnota None slouží k otevření klíče.

Viz také

Platí pro

TripleDESCng(String, CngProvider, CngKeyOpenOptions)

Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs
Zdroj:
Cng.NotSupported.cs

Inicializuje novou instanci TripleDESCng třídy se zadaným názvem klíče, který představuje existující trvalý klíč 3DES, zadaný zprostředkovatel úložiště klíčů (KSP) a možnosti otevření klíče.

public:
 TripleDESCng(System::String ^ keyName, System::Security::Cryptography::CngProvider ^ provider, System::Security::Cryptography::CngKeyOpenOptions openOptions);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public TripleDESCng(string keyName, System.Security.Cryptography.CngProvider provider, System.Security.Cryptography.CngKeyOpenOptions openOptions);
public TripleDESCng(string keyName, System.Security.Cryptography.CngProvider provider, System.Security.Cryptography.CngKeyOpenOptions openOptions);
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
new System.Security.Cryptography.TripleDESCng : string * System.Security.Cryptography.CngProvider * System.Security.Cryptography.CngKeyOpenOptions -> System.Security.Cryptography.TripleDESCng
new System.Security.Cryptography.TripleDESCng : string * System.Security.Cryptography.CngProvider * System.Security.Cryptography.CngKeyOpenOptions -> System.Security.Cryptography.TripleDESCng
Public Sub New (keyName As String, provider As CngProvider, openOptions As CngKeyOpenOptions)

Parametry

keyName
String

Název klíče.

provider
CngProvider

KSP, který obsahuje klíč.

openOptions
CngKeyOpenOptions

Bitová kombinace hodnot výčtu, které určují možnosti pro otevření klíče, například odkud je klíč otevřen (počítač nebo uživatelské úložiště) a jestli se má potlačit zobrazení výzvy uživatelského rozhraní.

Atributy

Výjimky

keyName je null.

nebo

provider je null.

Kryptografie next Generation (CNG) není v tomto systému podporována.

Všechny ostatní chyby.

Viz také

Platí pro