EncryptedKeyEncryptingCredentials Constructor (X509Certificate2, String, Int32, String)
Namespace: Microsoft.IdentityModel.SecurityTokenService
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Usage
Dim certificate As X509Certificate2
Dim keyWrappingAlgorithm As String
Dim keySizeInBits As Integer
Dim encryptionAlgorithm As String
Dim instance As New EncryptedKeyEncryptingCredentials(certificate, keyWrappingAlgorithm, keySizeInBits, encryptionAlgorithm)
Syntax
'Declaration
Public Sub New ( _
certificate As X509Certificate2, _
keyWrappingAlgorithm As String, _
keySizeInBits As Integer, _
encryptionAlgorithm As String _
)
public EncryptedKeyEncryptingCredentials (
X509Certificate2 certificate,
string keyWrappingAlgorithm,
int keySizeInBits,
string encryptionAlgorithm
)
public:
EncryptedKeyEncryptingCredentials (
X509Certificate2^ certificate,
String^ keyWrappingAlgorithm,
int keySizeInBits,
String^ encryptionAlgorithm
)
public EncryptedKeyEncryptingCredentials (
X509Certificate2 certificate,
String keyWrappingAlgorithm,
int keySizeInBits,
String encryptionAlgorithm
)
public function EncryptedKeyEncryptingCredentials (
certificate : X509Certificate2,
keyWrappingAlgorithm : String,
keySizeInBits : int,
encryptionAlgorithm : String
)
Parameters
- certificate
- keyWrappingAlgorithm
- keySizeInBits
- encryptionAlgorithm
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also
Reference
EncryptedKeyEncryptingCredentials Class
EncryptedKeyEncryptingCredentials Members
Microsoft.IdentityModel.SecurityTokenService Namespace