JksPrivateKeyEntry class

Inheritance

Constructors

JksPrivateKeyEntry({required String alias, required int timestamp, required String storeType, required List<(String, Uint8List)> certChain, required Uint8List encryptedData})

Properties

algorithmOid → List<int>
Gets the algorithm OID. Throws if not decrypted.
no setterinherited
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).
finalinherited
encryptedDataBytes ↔ Uint8List?
The encrypted private key data (PKCS#8 EncryptedPrivateKeyInfo).
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
keyAlgorithmOid ↔ List<int>?
The algorithm OID of the private key.
getter/setter pairinherited
pkcs8PrivateKey ↔ Uint8List?
The decrypted private key in PKCS#8 format.
getter/setter pairinherited
privateKey → Uint8List
Gets the raw private key bytes. Throws if not decrypted.
no setterinherited
privateKeyPkcs8 → Uint8List
Gets the PKCS#8 encoded private key. Throws if not decrypted.
no setterinherited
rawPrivateKey ↔ Uint8List?
The decrypted private key (raw format).
getter/setter pairinherited
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.
inherited
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