EncryptingCredentials Class
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.
A class for properties that are used for token encryption.
public class EncryptingCredentials
type EncryptingCredentials = class
Public Class EncryptingCredentials
- Inheritance
-
EncryptingCredentials
- Derived
Constructors
EncryptingCredentials(SecurityKey, String, String) |
Initializes a new instance of the EncryptingCredentials class. |
EncryptingCredentials(SymmetricSecurityKey, String) |
Initializes a new instance of the EncryptingCredentials class. |
EncryptingCredentials(X509Certificate2, String, String) |
Initializes a new instance of the EncryptingCredentials class. |
Properties
Alg |
Gets the key wrap algorithm used for session key encryption. |
CryptoProviderFactory |
Users can override the default CryptoProviderFactory with this property. This factory will be used for creating encryption providers. |
Enc |
Gets the data encryption algorithm. |
Key |
Gets the SecurityKey used for encryption. |
KeyExchangePublicKey |
Public key used in Key Agreement Algorithms |
SetDefaultCtyClaim |
Gets or sets a bool that controls if the encrypted token creation will set default 'cty' if not specified. Applies to only JWT tokens. |
Applies to
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示