AttestorPublicKey class
An attestor public key that will be used to verify attestations signed by this attestor.
Constructors
-
AttestorPublicKey({Input<
String> ? asciiArmoredPgpPublicKey, Input<String> ? comment, Input<String> ? id, Input<PkixPublicKey> ? pkixPublicKey}) -
Creates a new AttestorPublicKey.
asciiArmoredPgpPublicKeyASCII-armored representation of a PGP public key, as the entire output by the commandgpg --export --armor foo@example.com(either LF or CRLF line endings). When using this field,idshould be left blank. The Binary Authorization API handlers will calculate the ID and fill it in automatically. Binary Authorization computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case hex. Ifidis provided by the caller, it will be overwritten by the API-calculated ID.commentOptional. A descriptive comment. This field may be updated.idThe ID of this public key. Signatures verified by Binary Authorization must include the ID of the public key that can be used to verify them, and that ID must match the contents of this field exactly. Additional restrictions on this field can be imposed based on which public key type is encapsulated. See the documentation onpublic_keycases below for details.pkixPublicKeyA raw PKIX SubjectPublicKeyInfo format public key. NOTE:idmay be explicitly provided by the caller when using this type of public key, but it MUST be a valid RFC3986 URI. Ifidis left blank, a default one will be computed based on the digest of the DER encoding of the public key.const -
AttestorPublicKey.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
asciiArmoredPgpPublicKey
→ Input<
String> ? -
ASCII-armored representation of a PGP public key, as the entire output by the command
gpg --export --armor foo@example.com(either LF or CRLF line endings). When using this field,idshould be left blank. The Binary Authorization API handlers will calculate the ID and fill it in automatically. Binary Authorization computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case hex. Ifidis provided by the caller, it will be overwritten by the API-calculated ID.final -
comment
→ Input<
String> ? -
Optional. A descriptive comment. This field may be updated.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
→ Input<
String> ? -
The ID of this public key. Signatures verified by Binary Authorization must include the ID of the public key that can be used to verify them, and that ID must match the contents of this field exactly. Additional restrictions on this field can be imposed based on which public key type is encapsulated. See the documentation on
public_keycases below for details.final -
pkixPublicKey
→ Input<
PkixPublicKey> ? -
A raw PKIX SubjectPublicKeyInfo format public key. NOTE:
idmay be explicitly provided by the caller when using this type of public key, but it MUST be a valid RFC3986 URI. Ifidis left blank, a default one will be computed based on the digest of the DER encoding of the 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