Enum googapis::google::cloud::binaryauthorization::v1beta1::attestor_public_key::PublicKey [−][src]
pub enum PublicKey {
AsciiArmoredPgpPublicKey(String),
PkixPublicKey(PkixPublicKey),
}
Expand description
Required. A public key reference or serialized instance. This field may be updated.
Variants
AsciiArmoredPgpPublicKey(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, 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.
Tuple Fields of AsciiArmoredPgpPublicKey
0: String
PkixPublicKey(PkixPublicKey)
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.
Tuple Fields of PkixPublicKey
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PublicKey
impl UnwindSafe for PublicKey
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more