OpenSSHKeyPairs class
Constructors
-
OpenSSHKeyPairs({required String cipherName, required String kdfName, required OpenSSHKdfOptions? kdfOptions, required List<
Uint8List> publicKeys, required Uint8List privateKeyBlob}) - OpenSSHKeyPairs.decode(Uint8List keyBlob)
-
factory
-
OpenSSHKeyPairs.unencrypted({required List<
Uint8List> publicKeys, required Uint8List privateKeyBlob})
Properties
- cipherName → String
-
Name of the algorithm used to encrypt the private key. 'none' means no
encryption.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEncrypted → bool
-
Whether the private key is encrypted.
no setter
- kdfName → String
-
Key derivation function used to derive the encryption key. 'none' means
no key derivation thus no encryption.
final
- kdfOptions → OpenSSHKdfOptions?
-
Options for the key derivation function.
final
- privateKeyBlob → Uint8List
-
List of private keys.
final
-
publicKeys
→ List<
Uint8List> -
List of public keys.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getPrivateKeys(
[String? passphrase]) → List< SSHKeyPair> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPem(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited