SymmetricKey.Create SymmetricKey.Create SymmetricKey.Create Method

Definition

Overloads

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String, String)

Creates the object on the server. . The keyEncryption parameter specifies an array of encryption types. The keyEncryptionAlgorithm parameter specifies the encryption method. The passPhrase parameter specifies a pass phrase from which the symmetric key can be derived. The identityPhrase parameter is used to tag data (using a GUID based on the identity phrase) that is encrypted with the key.

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString, String)

Creates the object on the server. . The keyEncryption parameter specifies an array of encryption types. The keyEncryptionAlgorithm parameter specifies the encryption method. The passPhrase parameter specifies a pass phrase from which the symmetric key can be derived. The identityPhrase parameter is used to tag data (using a GUID based on the identity phrase) that is encrypted with the key.

Create(SymmetricKeyEncryption, String, String, CreateDispositionType) Create(SymmetricKeyEncryption, String, String, CreateDispositionType)
Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString, String)

Creates the object on the server. The keyEncryption parameter specifies the encryption type. The keyEncryptionAlgorithm parameter specifies the encryption method. The passPhrase parameter specifies a pass phrase from which the symmetric key can be derived. The identityPhrase parameter is used to tag data (using a GUID based on the identity phrase) that is encrypted with the key.

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String)

Creates the object on the server. . The keyEncryption parameter specifies an array of encryption types. The keyEncryptionAlgorithm parameter specifies the encryption method. The passPhrase parameter specifies a pass phrase from which the symmetric key can be derived.

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String, String)

Creates the object on the server. The keyEncryption parameter specifies the encryption type. The keyEncryptionAlgorithm parameter specifies the encryption method. The passPhrase parameter specifies a pass phrase from which the symmetric key can be derived. The identityPhrase parameter is used to tag data (using a GUID based on the identity phrase) that is encrypted with the key.

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String)

Creates the object on the server. The keyEncryption parameter specifies the encryption type. The keyEncryptionAlgorithm parameter specifies the encryption method. The passPhrase parameter specifies a pass phrase from which the symmetric key can be derived.

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString)

Creates the object on the server. The keyEncryption parameter specifies the encryption type. The keyEncryptionAlgorithm parameter specifies the encryption method. The passPhrase parameter specifies a pass phrase from which the symmetric key can be derived.

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm)

Creates the object on the server. The keyEncryption parameter specifies an array of encryption types. The keyEncryptionAlgorithm parameter specifies the encryption method.

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm)

Creates the object on the server. The keyEncryption parameter specifies the encryption type. The keyEncryptionAlgorithm parameter specifies the encryption method.

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString)

Creates the object on the server. . The keyEncryption parameter specifies an array of encryption types. The keyEncryptionAlgorithm parameter specifies the encryption method. The passPhrase parameter specifies a pass phrase from which the symmetric key can be derived.

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String, String)

Creates the object on the server. . The keyEncryption parameter specifies an array of encryption types. The keyEncryptionAlgorithm parameter specifies the encryption method. The passPhrase parameter specifies a pass phrase from which the symmetric key can be derived. The identityPhrase parameter is used to tag data (using a GUID based on the identity phrase) that is encrypted with the key.

public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] keyEncryptions, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, string passPhrase, string identityPhrase);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm * string * string -> unit
Public Sub Create (keyEncryptions As SymmetricKeyEncryption(), keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As String, identityPhrase As String)

Parameters

keyEncryptions
SymmetricKeyEncryption[]
passPhrase
String String String
identityPhrase
String String String

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString, String)

Creates the object on the server. . The keyEncryption parameter specifies an array of encryption types. The keyEncryptionAlgorithm parameter specifies the encryption method. The passPhrase parameter specifies a pass phrase from which the symmetric key can be derived. The identityPhrase parameter is used to tag data (using a GUID based on the identity phrase) that is encrypted with the key.

public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] keyEncryptions, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System.Security.SecureString passPhrase, string identityPhrase);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm * System.Security.SecureString * string -> unit
Public Sub Create (keyEncryptions As SymmetricKeyEncryption(), keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As SecureString, identityPhrase As String)

Parameters

keyEncryptions
SymmetricKeyEncryption[]
identityPhrase
String String String

Create(SymmetricKeyEncryption, String, String, CreateDispositionType) Create(SymmetricKeyEncryption, String, String, CreateDispositionType)

public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, string providerAlgorithm, string providerKeyName, Microsoft.SqlServer.Management.Smo.CreateDispositionType createDispositionType);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption * string * string * Microsoft.SqlServer.Management.Smo.CreateDispositionType -> unit

Parameters

providerAlgorithm
String String String
providerKeyName
String String String

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString, String)

Creates the object on the server. The keyEncryption parameter specifies the encryption type. The keyEncryptionAlgorithm parameter specifies the encryption method. The passPhrase parameter specifies a pass phrase from which the symmetric key can be derived. The identityPhrase parameter is used to tag data (using a GUID based on the identity phrase) that is encrypted with the key.

public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System.Security.SecureString passPhrase, string identityPhrase);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm * System.Security.SecureString * string -> unit
Public Sub Create (keyEncryption As SymmetricKeyEncryption, keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As SecureString, identityPhrase As String)

Parameters

identityPhrase
String String String

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String)

Creates the object on the server. . The keyEncryption parameter specifies an array of encryption types. The keyEncryptionAlgorithm parameter specifies the encryption method. The passPhrase parameter specifies a pass phrase from which the symmetric key can be derived.

public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] keyEncryptions, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, string passPhrase);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm * string -> unit
Public Sub Create (keyEncryptions As SymmetricKeyEncryption(), keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As String)

Parameters

keyEncryptions
SymmetricKeyEncryption[]
passPhrase
String String String

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String, String)

Creates the object on the server. The keyEncryption parameter specifies the encryption type. The keyEncryptionAlgorithm parameter specifies the encryption method. The passPhrase parameter specifies a pass phrase from which the symmetric key can be derived. The identityPhrase parameter is used to tag data (using a GUID based on the identity phrase) that is encrypted with the key.

public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, string passPhrase, string identityPhrase);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm * string * string -> unit
Public Sub Create (keyEncryption As SymmetricKeyEncryption, keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As String, identityPhrase As String)

Parameters

passPhrase
String String String
identityPhrase
String String String

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String)

Creates the object on the server. The keyEncryption parameter specifies the encryption type. The keyEncryptionAlgorithm parameter specifies the encryption method. The passPhrase parameter specifies a pass phrase from which the symmetric key can be derived.

public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, string passPhrase);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm * string -> unit
Public Sub Create (keyEncryption As SymmetricKeyEncryption, keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As String)

Parameters

passPhrase
String String String

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString)

Creates the object on the server. The keyEncryption parameter specifies the encryption type. The keyEncryptionAlgorithm parameter specifies the encryption method. The passPhrase parameter specifies a pass phrase from which the symmetric key can be derived.

public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System.Security.SecureString passPhrase);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm * System.Security.SecureString -> unit
Public Sub Create (keyEncryption As SymmetricKeyEncryption, keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As SecureString)

Parameters

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm)

Creates the object on the server. The keyEncryption parameter specifies an array of encryption types. The keyEncryptionAlgorithm parameter specifies the encryption method.

public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] keyEncryptions, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm -> unit
Public Sub Create (keyEncryptions As SymmetricKeyEncryption(), keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm)

Parameters

keyEncryptions
SymmetricKeyEncryption[]

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm)

Creates the object on the server. The keyEncryption parameter specifies the encryption type. The keyEncryptionAlgorithm parameter specifies the encryption method.

public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm -> unit
Public Sub Create (keyEncryption As SymmetricKeyEncryption, keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm)

Parameters

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString)

Creates the object on the server. . The keyEncryption parameter specifies an array of encryption types. The keyEncryptionAlgorithm parameter specifies the encryption method. The passPhrase parameter specifies a pass phrase from which the symmetric key can be derived.

public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] keyEncryptions, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System.Security.SecureString passPhrase);
member this.Create : Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] * Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm * System.Security.SecureString -> unit
Public Sub Create (keyEncryptions As SymmetricKeyEncryption(), keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As SecureString)

Parameters

keyEncryptions
SymmetricKeyEncryption[]

Applies to