SecurityKeyElement 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.
Provides delayed resolution of security keys by resolving the SecurityKeyIdentifierClause or SecurityKeyIdentifier only when cryptographic functions are needed. This allows a key identifier clause or key identifier that is never used by an application to be serialized and deserialized on and off the wire without issues.
public ref class SecurityKeyElement : System::IdentityModel::Tokens::SecurityKey
public class SecurityKeyElement : System.IdentityModel.Tokens.SecurityKey
type SecurityKeyElement = class
inherit SecurityKey
Public Class SecurityKeyElement
Inherits SecurityKey
- Inheritance
Security |
Initializes a new instance of the SecurityKeyElement class from the specified key identifier. |
Security |
Initializes a new instance of the SecurityKeyElement class from the specified key identifier clause. |
Key |
Gets the key size, in bits. |
Decrypt |
Decrypts the specified key by using the specified algorithm. |
Encrypt |
Encrypts the specified key by using the specified algorithm. |
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) |
Is |
Returns a value that indicates whether the specified algorithm is asymmetric. |
Is |
Returns a value that indicates whether the specified algorithm is supported by this key. |
Is |
Returns a value that indicates whether the specified algorithm is symmetric. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: