System::Security::Cryptography::X509Certificates::X509Extension class

X509Extension class

Extension object to keep extra information associated with X.509 certificate. 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 X509Extension : public System::Security::Cryptography::AsnEncodedData

Methods

MethodDescription
CopyFrom(const SharedPtr<AsnEncodedData>&) overrideCopies extension data from other object.
get_Critical() constChecks whether extension is critical.
set_Critical(bool)Defines whether extension is critical.
X509Extension(const SharedPtr<AsnEncodedData>&, bool)RTTI information.
X509Extension(const SharedPtr<Oid>&, const ByteArrayPtr&, bool)Constructor.
X509Extension(const String&, const ByteArrayPtr&, bool)Constructor.

See Also