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({String? keyId, String? keyScheme, String? keyType, String? publicKeyValue})
SigningKey.fromJson(Map _json)

Properties

hashCode int
The hash code for this object.
no setterinherited
keyId String?
key_id is an identifier for the signing key.
getter/setter pair
keyScheme String?
This field contains the corresponding signature scheme.
getter/setter pair
keyType String?
This field identifies the specific signing method.
getter/setter pair
publicKeyValue String?
This field contains the actual public key.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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