X509EncryptingCredentials 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.
An X509EncryptingCredentials designed to construct EncryptingCredentials based on a x509 certificate.
public class X509EncryptingCredentials : Microsoft.IdentityModel.Tokens.EncryptingCredentials
type X509EncryptingCredentials = class
inherit EncryptingCredentials
Public Class X509EncryptingCredentials
Inherits EncryptingCredentials
- Inheritance
Constructors
X509EncryptingCredentials(X509Certificate2) |
Designed to construct EncryptingCredentials based on a x509 certificate. |
X509EncryptingCredentials(X509Certificate2, String, String) |
Designed to construct EncryptingCredentials based on the x509 certificate, a key wrap algorithm, and data encryption algorithm. |
Properties
Alg |
Gets the key wrap algorithm used for session key encryption. (Inherited from EncryptingCredentials) |
Certificate |
Gets the X509Certificate2 used by this instance. |
CryptoProviderFactory |
Users can override the default CryptoProviderFactory with this property. This factory will be used for creating encryption providers. (Inherited from EncryptingCredentials) |
Enc |
Gets the data encryption algorithm. (Inherited from EncryptingCredentials) |
Key |
Gets the SecurityKey used for encryption. (Inherited from EncryptingCredentials) |
KeyExchangePublicKey |
Public key used in Key Agreement Algorithms (Inherited from EncryptingCredentials) |
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. (Inherited from EncryptingCredentials) |
Applies to
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de