- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.0.6
public static interface Resources.AttestorPublicKeyOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAsciiArmoredPgpPublicKey()
public abstract String getAsciiArmoredPgpPublicKey()
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, id
should be left blank. The BinAuthz API
handlers will calculate the ID and fill it in automatically. BinAuthz
computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as
upper-case hex. If id
is provided by the caller, it will be
overwritten by the API-calculated ID.
string ascii_armored_pgp_public_key = 3;
Type | Description |
String | The asciiArmoredPgpPublicKey. |
getAsciiArmoredPgpPublicKeyBytes()
public abstract ByteString getAsciiArmoredPgpPublicKeyBytes()
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, id
should be left blank. The BinAuthz API
handlers will calculate the ID and fill it in automatically. BinAuthz
computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as
upper-case hex. If id
is provided by the caller, it will be
overwritten by the API-calculated ID.
string ascii_armored_pgp_public_key = 3;
Type | Description |
ByteString | The bytes for asciiArmoredPgpPublicKey. |
getComment()
public abstract String getComment()
Optional. A descriptive comment. This field may be updated.
string comment = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The comment. |
getCommentBytes()
public abstract ByteString getCommentBytes()
Optional. A descriptive comment. This field may be updated.
string comment = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for comment. |
getId()
public abstract String getId()
The ID of this public key.
Signatures verified by BinAuthz 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_key
cases below
for details.
string id = 2;
Type | Description |
String | The id. |
getIdBytes()
public abstract ByteString getIdBytes()
The ID of this public key.
Signatures verified by BinAuthz 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_key
cases below
for details.
string id = 2;
Type | Description |
ByteString | The bytes for id. |
getPkixPublicKey()
public abstract Resources.PkixPublicKey getPkixPublicKey()
A raw PKIX SubjectPublicKeyInfo format public key.
NOTE: id
may be explicitly provided by the caller when using this
type of public key, but it MUST be a valid RFC3986 URI. If id
is left
blank, a default one will be computed based on the digest of the DER
encoding of the public key.
.google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
Type | Description |
Resources.PkixPublicKey | The pkixPublicKey. |
getPkixPublicKeyOrBuilder()
public abstract Resources.PkixPublicKeyOrBuilder getPkixPublicKeyOrBuilder()
A raw PKIX SubjectPublicKeyInfo format public key.
NOTE: id
may be explicitly provided by the caller when using this
type of public key, but it MUST be a valid RFC3986 URI. If id
is left
blank, a default one will be computed based on the digest of the DER
encoding of the public key.
.google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
Type | Description |
Resources.PkixPublicKeyOrBuilder |
getPublicKeyCase()
public abstract Resources.AttestorPublicKey.PublicKeyCase getPublicKeyCase()
Type | Description |
Resources.AttestorPublicKey.PublicKeyCase |
hasAsciiArmoredPgpPublicKey()
public abstract boolean hasAsciiArmoredPgpPublicKey()
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, id
should be left blank. The BinAuthz API
handlers will calculate the ID and fill it in automatically. BinAuthz
computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as
upper-case hex. If id
is provided by the caller, it will be
overwritten by the API-calculated ID.
string ascii_armored_pgp_public_key = 3;
Type | Description |
boolean | Whether the asciiArmoredPgpPublicKey field is set. |
hasPkixPublicKey()
public abstract boolean hasPkixPublicKey()
A raw PKIX SubjectPublicKeyInfo format public key.
NOTE: id
may be explicitly provided by the caller when using this
type of public key, but it MUST be a valid RFC3986 URI. If id
is left
blank, a default one will be computed based on the digest of the DER
encoding of the public key.
.google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
Type | Description |
boolean | Whether the pkixPublicKey field is set. |