PkixPublicKeyResponse class
A public key in the PkixPublicKey format. Public keys of this type are typically textually encoded using the PEM format.
Constructors
-
PkixPublicKeyResponse({required Input<
String> keyId, required Input<String> publicKeyPem, required Input<String> signatureAlgorithm}) -
Creates a new PkixPublicKeyResponse.
keyIdOptional. 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. This may be explicitly provided by the caller, but it MUST be a valid RFC3986 URI. Ifkey_idis left blank and thisPkixPublicKeyis not used in the context of a wrapper (see next paragraph), a default key ID will be computed based on the digest of the DER encoding of the public key. If thisPkixPublicKeyis used in the context of a wrapper that has its own notion of key ID (e.g.AttestorPublicKey), then this field can either: * Match that value exactly. * Or be left blank, in which case it behaves exactly as though it is equal to that wrapper value.publicKeyPemA PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13signatureAlgorithmThe signature algorithm used to verify a message against a signature using this key. These signature algorithm must match the structure and any object identifiers encoded inpublic_key_pem(i.e. this algorithm must match that of the public key).const -
PkixPublicKeyResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keyId
→ Input<
String> -
Optional. 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. This may be explicitly provided by the caller, but it MUST be a valid RFC3986 URI. If
key_idis left blank and thisPkixPublicKeyis not used in the context of a wrapper (see next paragraph), a default key ID will be computed based on the digest of the DER encoding of the public key. If thisPkixPublicKeyis used in the context of a wrapper that has its own notion of key ID (e.g.AttestorPublicKey), then this field can either: * Match that value exactly. * Or be left blank, in which case it behaves exactly as though it is equal to that wrapper value.final -
publicKeyPem
→ Input<
String> -
A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
signatureAlgorithm
→ Input<
String> -
The signature algorithm used to verify a message against a signature using this key. These signature algorithm must match the structure and any object identifiers encoded in
public_key_pem(i.e. this algorithm must match that of the public key).final
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