X509Extension class

An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.

Constructors

X509Extension({Input<bool>? critical, required Input<ObjectId> objectId, required Input<String> value})
Creates a new X509Extension. critical Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error). objectId The OID for this X.509 extension. value The value of this X.509 extension.
const
X509Extension.fromMap(Map<String, dynamic> map)
factory

Properties

critical → Input<bool>?
Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
final
hashCode → int
The hash code for this object.
no setterinherited
objectId → Input<ObjectId>
The OID for this X.509 extension.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → Input<String>
The value of this X.509 extension.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited