X509Request class
Wrapper around OpenSSL X509_REQ (Certificate Signing Request).
Constructors
-
X509Request(Pointer<
X509_REQ> ptr, OpenSSL _context)
Properties
-
handle
→ Pointer<
X509_REQ> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNull → bool
-
Returns true if the underlying pointer is null.
no setterinherited
- publicKey → EvpPkey
-
Public key the CSR asks to have certified.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subject → String
-
Subject DN requested by the CSR, in the same format as
X509Certificate.subject.
no setter
- version → int
-
CSR version: 1 for the only version PKCS#10 defines (the encoded value
is zero-based).
no setter
Methods
-
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 -
Manually dispose the native object.
Note: The Finalizer must support detachment if we want to do this safely,
but NativeFinalizer automatically handles detached objects if we passed
detach: this.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDer(
) → Uint8List - Exports CSR to DER bytes.
-
toPem(
) → String - Exports CSR to PEM format.
-
toString(
) → String -
A string representation of this object.
inherited
-
verifySignature(
[EvpPkey? key]) → bool - Verifies the CSR signature.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited