EncryptingCredentials Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the EncryptingCredentials class.
Overloads
EncryptingCredentials() |
Initializes a new instance of the EncryptingCredentials class. |
EncryptingCredentials(SecurityKey, SecurityKeyIdentifier, String) |
Initializes a new instance of the EncryptingCredentials class with the specified cryptographic key, key identifier, and encryption algorithm. |
EncryptingCredentials()
Initializes a new instance of the EncryptingCredentials class.
public:
EncryptingCredentials();
public EncryptingCredentials ();
Public Sub New ()
Applies to
EncryptingCredentials(SecurityKey, SecurityKeyIdentifier, String)
Initializes a new instance of the EncryptingCredentials class with the specified cryptographic key, key identifier, and encryption algorithm.
public:
EncryptingCredentials(System::IdentityModel::Tokens::SecurityKey ^ key, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ keyIdentifier, System::String ^ algorithm);
public EncryptingCredentials (System.IdentityModel.Tokens.SecurityKey key, System.IdentityModel.Tokens.SecurityKeyIdentifier keyIdentifier, string algorithm);
new System.IdentityModel.Tokens.EncryptingCredentials : System.IdentityModel.Tokens.SecurityKey * System.IdentityModel.Tokens.SecurityKeyIdentifier * string -> System.IdentityModel.Tokens.EncryptingCredentials
Public Sub New (key As SecurityKey, keyIdentifier As SecurityKeyIdentifier, algorithm As String)
Parameters
- key
- SecurityKey
A SecurityKey that contains the cryptographic key that is used for encryption.
- keyIdentifier
- SecurityKeyIdentifier
A SecurityKeyIdentifier that specifies the identifier that represents the key that is used for encryption.
- algorithm
- String
A URI that represents the cryptographic algorithm that is used for encryption.
Exceptions
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor