SigningKey class

This defines the format used to record keys used in the software supply chain. An in-toto link is attested using one or more keys defined in the in-toto layout. An example of this is: { "key_id": "776a00e29f3559e0141b3b096f696abc6cfb0c657ab40f441132b345b0...", "key_type": "rsa", "public_key_value": "-----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0B...", "key_scheme": "rsassa-pss-sha256" } The format for in-toto's key definition can be found in section 4.2 of the in-toto specification.

Constructors

SigningKey({Input<String>? keyId, Input<String>? keyScheme, Input<String>? keyType, Input<String>? publicKeyValue})
Creates a new SigningKey. keyId key_id is an identifier for the signing key. keyScheme This field contains the corresponding signature scheme. Eg: "rsassa-pss-sha256". keyType This field identifies the specific signing method. Eg: "rsa", "ed25519", and "ecdsa". publicKeyValue This field contains the actual public key.
const
SigningKey.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
keyId → Input<String>?
key_id is an identifier for the signing key.
final
keyScheme → Input<String>?
This field contains the corresponding signature scheme. Eg: "rsassa-pss-sha256".
final
keyType → Input<String>?
This field identifies the specific signing method. Eg: "rsa", "ed25519", and "ecdsa".
final
publicKeyValue → Input<String>?
This field contains the actual public key.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited