PrivateKeyEntry class
Represents a private key entry.
- Inheritance
-
- Object
- KeystoreEntry
- PrivateKeyEntry
- Implementers
Constructors
Properties
-
algorithmOid
→ List<
int> -
Gets the algorithm OID. Throws if not decrypted.
no setter
- alias ↔ String
-
The alias of this entry.
getter/setter pairinherited
-
certChain
→ List<
(String, Uint8List)> -
The certificate chain associated with the private key.
Each element is a tuple of (certType, certData).
final
- encryptedDataBytes ↔ Uint8List?
-
The encrypted private key data (PKCS#8 EncryptedPrivateKeyInfo).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keyAlgorithmOid
↔ List<
int> ? -
The algorithm OID of the private key.
getter/setter pair
- pkcs8PrivateKey ↔ Uint8List?
-
The decrypted private key in PKCS#8 format.
getter/setter pair
- privateKey → Uint8List
-
Gets the raw private key bytes. Throws if not decrypted.
no setter
- privateKeyPkcs8 → Uint8List
-
Gets the PKCS#8 encoded private key. Throws if not decrypted.
no setter
- rawPrivateKey ↔ Uint8List?
-
The decrypted private key (raw format).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storeType ↔ String
-
The type of the store this entry belongs to.
getter/setter pairinherited
- timestamp ↔ int
-
The timestamp when this entry was created (milliseconds since epoch).
getter/setter pairinherited
Methods
-
decrypt(
String password) → void -
Decrypts this entry using the given password.
override
-
isDecrypted(
) → bool -
Returns true if this entry has been decrypted.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited