Share via


KeyType Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the KeyType (RSA, DSA, etc.) associated with a certificate.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  System.Security (in System.Security.dll)

Syntax

'Declaration
Public ReadOnly Property KeyType As CryptoKey.KeyType
public CryptoKey.KeyType KeyType { get; }
public:
property CryptoKey::KeyType KeyType {
    CryptoKey::KeyType get ();
}
member KeyType : CryptoKey.KeyType with get
function get KeyType () : CryptoKey..::..KeyType

Property Value

Type: System.Security.Cryptography. . :: . .CryptoKey. . :: . .KeyType
Returns CryptoKey..::..KeyType.

.NET Framework Security

See Also

Reference

X509Certificate2 Class

System.Security.Cryptography.X509Certificates Namespace