EvpPkey class
Wrapper around OpenSSL EVP_PKEY (Private/Public Key).
Properties
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 -
Releases the underlying EVP_PKEY structure.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPrivateKeyPem(
{String? password}) → String - Exports Private Key to PEM format.
-
toPublicJwk(
{String? keyId, String? algorithm, String? use}) → Map< String, Object?> - Exports the public half of an RSA key as a JSON Web Key (RFC 7517).
-
toPublicKeyDer(
) → Uint8List - Exports the public key as DER (SubjectPublicKeyInfo).
-
toPublicKeyPem(
) → String - Exports Public Key to PEM format (SubjectPublicKeyInfo).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited