X509Name class
Wrapper around OpenSSL X509_NAME. Represents the Subject or Issuer of a certificate.
This wrapper supports both owned and borrowed pointers.
If isOwned is true, the native pointer is freed when this object is GC'd or dispose is called.
If isOwned is false (e.g. returned by X509_get_subject_name), the pointer is NOT freed.
Properties
Methods
-
addEntry(
String field, String value) → void -
Adds a text entry to the name.
fieldis the short name (e.g., "CN", "O", "C", "OU").valueis the value. -
attachFinalizer(
NativeFinalizer finalizer, Pointer< Void> token, {int? externalSize}) → void -
Attaches this Dart object to the native pointer so that
finalizercallsfreeFuncon_ptrwhen this object is GC'd.inherited -
dispose(
) → void -
Explicitly disposes the native resource if it is owned.
After calling this, using the object is invalid.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited