X509SecurityToken Class
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.
Represents a security token that is based upon an X.509 certificate.
public ref class X509SecurityToken : System::IdentityModel::Tokens::SecurityToken, IDisposable
public class X509SecurityToken : System.IdentityModel.Tokens.SecurityToken, IDisposable
type X509SecurityToken = class
inherit SecurityToken
interface IDisposable
Public Class X509SecurityToken
Inherits SecurityToken
Implements IDisposable
- Inheritance
- Derived
- Implements
To get the details of the X.509 certificate, access the Certificate property.
X509Security |
Initializes a new instance of the X509SecurityToken class using the specified X.509 certificate and unique identifier. |
X509Security |
Initializes a new instance of the X509SecurityToken class using the specified X.509 certificate. |
Certificate |
Gets the X.509 certificate associated with the security token. |
Id |
Gets a unique identifier of the security token. |
Security |
Gets the cryptographic keys associated with the security token. |
Valid |
Gets the first instant in time at which this security token is valid. |
Valid |
Gets the last instant in time at which this security token is valid. |
Can |
Gets a value indicating whether this security token is capable of creating the specified key identifier. |
Create |
Creates the specified key identifier clause. |
Dispose() |
Releases all resources used by the X509SecurityToken. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Matches |
Returns a value indicating whether the key identifier for this instance is equal to the specified key identifier. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Resolve |
Gets the key for the specified key identifier clause. (Inherited from SecurityToken) |
Throw |
Throws an exception if the ThrowIfDisposed() method has been called for this instance. |
To |
Returns a string that represents the current object. (Inherited from Object) |
Produit | Versions |
---|---|
.NET | 8 (package-provided) |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :