Skip to content

X509Identity

saq.sandwich.proto.api.v1.X509Identity

Description

An X.509 identity.

It consists of a certificate and its associated private key.

message X509Identity {
  // A certificate or a chain of certificates.
  //
  // The leaf certificate is expected to be the first one if the value points
  // to a chain of certificates.
  //
  // See also [Certificate](Certificate.md).
  Certificate certificate = 1;

  // The private key.
  //
  // See also [PrivateKey](PrivateKey.md).
  PrivateKey private_key = 2;

  // Next id: 3
}

Fields

certificate

A certificate or a chain of certificates.

The leaf certificate is expected to be the first one if the value points to a chain of certificates.

See also Certificate.

Certificate certificate = 1;

private_key

The private key.

See also PrivateKey.

PrivateKey private_key = 2;