System::Security::Cryptography::X509Certificates::X509KeyUsageExtension class

X509KeyUsageExtension class

Extension object to keep extra information about the usage of a key. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class X509KeyUsageExtension : public System::Security::Cryptography::X509Certificates::X509Extension

Methods

MethodDescription
CopyFrom(const SharedPtr<AsnEncodedData>&) overrideCopies extension data from other object.
get_KeyUsages()Gets key usages.
X509KeyUsageExtension()RTTI information.
X509KeyUsageExtension(const SharedPtr<AsnEncodedData>&, bool)Constructor.
X509KeyUsageExtension(X509KeyUsageFlags, bool)Constructor.

See Also