Skip to content

ASN1EncodingFormat

saq.sandwich.proto.api.v1.ASN1EncodingFormat

Description

Encoding format for ASN.1 data.

This format is mainly used to construct an ASN1DataSource for either a Certificate or a PrivateKey.

enum ASN1EncodingFormat {
  // PEM format.
  ENCODING_FORMAT_PEM = 0;
  // DER format.
  ENCODING_FORMAT_DER = 1;
}

Values

ENCODING_FORMAT_PEM

PEM format.

ENCODING_FORMAT_PEM = 0;

ENCODING_FORMAT_DER

DER format.

ENCODING_FORMAT_DER = 1;