X509RequestBuilder class
Builder for creating Certificate Signing Requests (CSR).
- Implemented types
Constructors
- X509RequestBuilder(OpenSSL _context)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Releases the underlying X509_REQ structure if the builder was not consumed.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setPublicKey(
EvpPkey key) → void - Sets the Public Key to be included in the request.
-
setSubject(
{String? commonName, String? organization, String? country, String? locality, String? state, String? unit}) → void - Sets the Subject DN (Distinguished Name).
-
sign(
EvpPkey privateKey, {String digestName = 'SHA256'}) → X509Request -
Signs the request and returns the wrapper.
privateKeyKey used to sign (must allow signing). -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited