X509KeyUsageExtension.KeyUsages Property
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.
Gets the key usage flag associated with the certificate.
public:
property System::Security::Cryptography::X509Certificates::X509KeyUsageFlags KeyUsages { System::Security::Cryptography::X509Certificates::X509KeyUsageFlags get(); };
public System.Security.Cryptography.X509Certificates.X509KeyUsageFlags KeyUsages { get; }
member this.KeyUsages : System.Security.Cryptography.X509Certificates.X509KeyUsageFlags
Public ReadOnly Property KeyUsages As X509KeyUsageFlags
Property Value
One of the KeyUsages values.
Exceptions
The extension cannot be decoded.
Remarks
This property returns a value from the KeyUsages enumeration that indicates how to use the certificate key.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.