Files
metacrypt/gen/metacrypt/v2/sshca.pb.go
Kyle Isom 26f397afc0 Regenerate proto files for mc/ module path
Raw descriptor bytes in .pb.go files were corrupted by the sed-based
module path rename (string length changed, breaking protobuf binary
encoding). Regenerated with protoc to fix.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 02:54:26 -07:00

2049 lines
67 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v6.32.1
// source: proto/metacrypt/v2/sshca.proto
package metacryptv2
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type SSHGetCAPublicKeyRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHGetCAPublicKeyRequest) Reset() {
*x = SSHGetCAPublicKeyRequest{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHGetCAPublicKeyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHGetCAPublicKeyRequest) ProtoMessage() {}
func (x *SSHGetCAPublicKeyRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHGetCAPublicKeyRequest.ProtoReflect.Descriptor instead.
func (*SSHGetCAPublicKeyRequest) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{0}
}
func (x *SSHGetCAPublicKeyRequest) GetMount() string {
if x != nil {
return x.Mount
}
return ""
}
type SSHGetCAPublicKeyResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// public_key is the SSH CA public key in authorized_keys format.
PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHGetCAPublicKeyResponse) Reset() {
*x = SSHGetCAPublicKeyResponse{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHGetCAPublicKeyResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHGetCAPublicKeyResponse) ProtoMessage() {}
func (x *SSHGetCAPublicKeyResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHGetCAPublicKeyResponse.ProtoReflect.Descriptor instead.
func (*SSHGetCAPublicKeyResponse) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{1}
}
func (x *SSHGetCAPublicKeyResponse) GetPublicKey() string {
if x != nil {
return x.PublicKey
}
return ""
}
type SSHSignHostRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
// public_key is the host's SSH public key in authorized_keys format.
PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
// hostname is the principal to embed in the host certificate.
Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"`
// ttl overrides the default certificate validity (e.g. "720h").
Ttl string `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHSignHostRequest) Reset() {
*x = SSHSignHostRequest{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHSignHostRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHSignHostRequest) ProtoMessage() {}
func (x *SSHSignHostRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHSignHostRequest.ProtoReflect.Descriptor instead.
func (*SSHSignHostRequest) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{2}
}
func (x *SSHSignHostRequest) GetMount() string {
if x != nil {
return x.Mount
}
return ""
}
func (x *SSHSignHostRequest) GetPublicKey() string {
if x != nil {
return x.PublicKey
}
return ""
}
func (x *SSHSignHostRequest) GetHostname() string {
if x != nil {
return x.Hostname
}
return ""
}
func (x *SSHSignHostRequest) GetTtl() string {
if x != nil {
return x.Ttl
}
return ""
}
type SSHSignHostResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Serial string `protobuf:"bytes,1,opt,name=serial,proto3" json:"serial,omitempty"`
CertType string `protobuf:"bytes,2,opt,name=cert_type,json=certType,proto3" json:"cert_type,omitempty"`
Principals []string `protobuf:"bytes,3,rep,name=principals,proto3" json:"principals,omitempty"`
CertData string `protobuf:"bytes,4,opt,name=cert_data,json=certData,proto3" json:"cert_data,omitempty"`
KeyId string `protobuf:"bytes,5,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
IssuedBy string `protobuf:"bytes,6,opt,name=issued_by,json=issuedBy,proto3" json:"issued_by,omitempty"`
IssuedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHSignHostResponse) Reset() {
*x = SSHSignHostResponse{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHSignHostResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHSignHostResponse) ProtoMessage() {}
func (x *SSHSignHostResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHSignHostResponse.ProtoReflect.Descriptor instead.
func (*SSHSignHostResponse) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{3}
}
func (x *SSHSignHostResponse) GetSerial() string {
if x != nil {
return x.Serial
}
return ""
}
func (x *SSHSignHostResponse) GetCertType() string {
if x != nil {
return x.CertType
}
return ""
}
func (x *SSHSignHostResponse) GetPrincipals() []string {
if x != nil {
return x.Principals
}
return nil
}
func (x *SSHSignHostResponse) GetCertData() string {
if x != nil {
return x.CertData
}
return ""
}
func (x *SSHSignHostResponse) GetKeyId() string {
if x != nil {
return x.KeyId
}
return ""
}
func (x *SSHSignHostResponse) GetIssuedBy() string {
if x != nil {
return x.IssuedBy
}
return ""
}
func (x *SSHSignHostResponse) GetIssuedAt() *timestamppb.Timestamp {
if x != nil {
return x.IssuedAt
}
return nil
}
func (x *SSHSignHostResponse) GetExpiresAt() *timestamppb.Timestamp {
if x != nil {
return x.ExpiresAt
}
return nil
}
type SSHSignUserRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
// public_key is the user's SSH public key in authorized_keys format.
PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
// principals are the usernames to embed in the certificate.
// Defaults to the caller's own username if empty.
Principals []string `protobuf:"bytes,3,rep,name=principals,proto3" json:"principals,omitempty"`
// profile selects a signing profile for extensions and constraints.
Profile string `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty"`
// ttl overrides the default certificate validity (e.g. "24h").
Ttl string `protobuf:"bytes,5,opt,name=ttl,proto3" json:"ttl,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHSignUserRequest) Reset() {
*x = SSHSignUserRequest{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHSignUserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHSignUserRequest) ProtoMessage() {}
func (x *SSHSignUserRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHSignUserRequest.ProtoReflect.Descriptor instead.
func (*SSHSignUserRequest) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{4}
}
func (x *SSHSignUserRequest) GetMount() string {
if x != nil {
return x.Mount
}
return ""
}
func (x *SSHSignUserRequest) GetPublicKey() string {
if x != nil {
return x.PublicKey
}
return ""
}
func (x *SSHSignUserRequest) GetPrincipals() []string {
if x != nil {
return x.Principals
}
return nil
}
func (x *SSHSignUserRequest) GetProfile() string {
if x != nil {
return x.Profile
}
return ""
}
func (x *SSHSignUserRequest) GetTtl() string {
if x != nil {
return x.Ttl
}
return ""
}
type SSHSignUserResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Serial string `protobuf:"bytes,1,opt,name=serial,proto3" json:"serial,omitempty"`
CertType string `protobuf:"bytes,2,opt,name=cert_type,json=certType,proto3" json:"cert_type,omitempty"`
Principals []string `protobuf:"bytes,3,rep,name=principals,proto3" json:"principals,omitempty"`
CertData string `protobuf:"bytes,4,opt,name=cert_data,json=certData,proto3" json:"cert_data,omitempty"`
KeyId string `protobuf:"bytes,5,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
Profile string `protobuf:"bytes,6,opt,name=profile,proto3" json:"profile,omitempty"`
IssuedBy string `protobuf:"bytes,7,opt,name=issued_by,json=issuedBy,proto3" json:"issued_by,omitempty"`
IssuedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHSignUserResponse) Reset() {
*x = SSHSignUserResponse{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHSignUserResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHSignUserResponse) ProtoMessage() {}
func (x *SSHSignUserResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHSignUserResponse.ProtoReflect.Descriptor instead.
func (*SSHSignUserResponse) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{5}
}
func (x *SSHSignUserResponse) GetSerial() string {
if x != nil {
return x.Serial
}
return ""
}
func (x *SSHSignUserResponse) GetCertType() string {
if x != nil {
return x.CertType
}
return ""
}
func (x *SSHSignUserResponse) GetPrincipals() []string {
if x != nil {
return x.Principals
}
return nil
}
func (x *SSHSignUserResponse) GetCertData() string {
if x != nil {
return x.CertData
}
return ""
}
func (x *SSHSignUserResponse) GetKeyId() string {
if x != nil {
return x.KeyId
}
return ""
}
func (x *SSHSignUserResponse) GetProfile() string {
if x != nil {
return x.Profile
}
return ""
}
func (x *SSHSignUserResponse) GetIssuedBy() string {
if x != nil {
return x.IssuedBy
}
return ""
}
func (x *SSHSignUserResponse) GetIssuedAt() *timestamppb.Timestamp {
if x != nil {
return x.IssuedAt
}
return nil
}
func (x *SSHSignUserResponse) GetExpiresAt() *timestamppb.Timestamp {
if x != nil {
return x.ExpiresAt
}
return nil
}
type SSHCreateProfileRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
CriticalOptions map[string]string `protobuf:"bytes,3,rep,name=critical_options,json=criticalOptions,proto3" json:"critical_options,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Extensions map[string]string `protobuf:"bytes,4,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MaxTtl string `protobuf:"bytes,5,opt,name=max_ttl,json=maxTtl,proto3" json:"max_ttl,omitempty"`
AllowedPrincipals []string `protobuf:"bytes,6,rep,name=allowed_principals,json=allowedPrincipals,proto3" json:"allowed_principals,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHCreateProfileRequest) Reset() {
*x = SSHCreateProfileRequest{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHCreateProfileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHCreateProfileRequest) ProtoMessage() {}
func (x *SSHCreateProfileRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHCreateProfileRequest.ProtoReflect.Descriptor instead.
func (*SSHCreateProfileRequest) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{6}
}
func (x *SSHCreateProfileRequest) GetMount() string {
if x != nil {
return x.Mount
}
return ""
}
func (x *SSHCreateProfileRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *SSHCreateProfileRequest) GetCriticalOptions() map[string]string {
if x != nil {
return x.CriticalOptions
}
return nil
}
func (x *SSHCreateProfileRequest) GetExtensions() map[string]string {
if x != nil {
return x.Extensions
}
return nil
}
func (x *SSHCreateProfileRequest) GetMaxTtl() string {
if x != nil {
return x.MaxTtl
}
return ""
}
func (x *SSHCreateProfileRequest) GetAllowedPrincipals() []string {
if x != nil {
return x.AllowedPrincipals
}
return nil
}
type SSHCreateProfileResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHCreateProfileResponse) Reset() {
*x = SSHCreateProfileResponse{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHCreateProfileResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHCreateProfileResponse) ProtoMessage() {}
func (x *SSHCreateProfileResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHCreateProfileResponse.ProtoReflect.Descriptor instead.
func (*SSHCreateProfileResponse) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{7}
}
func (x *SSHCreateProfileResponse) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type SSHUpdateProfileRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
CriticalOptions map[string]string `protobuf:"bytes,3,rep,name=critical_options,json=criticalOptions,proto3" json:"critical_options,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Extensions map[string]string `protobuf:"bytes,4,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MaxTtl string `protobuf:"bytes,5,opt,name=max_ttl,json=maxTtl,proto3" json:"max_ttl,omitempty"`
AllowedPrincipals []string `protobuf:"bytes,6,rep,name=allowed_principals,json=allowedPrincipals,proto3" json:"allowed_principals,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHUpdateProfileRequest) Reset() {
*x = SSHUpdateProfileRequest{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHUpdateProfileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHUpdateProfileRequest) ProtoMessage() {}
func (x *SSHUpdateProfileRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHUpdateProfileRequest.ProtoReflect.Descriptor instead.
func (*SSHUpdateProfileRequest) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{8}
}
func (x *SSHUpdateProfileRequest) GetMount() string {
if x != nil {
return x.Mount
}
return ""
}
func (x *SSHUpdateProfileRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *SSHUpdateProfileRequest) GetCriticalOptions() map[string]string {
if x != nil {
return x.CriticalOptions
}
return nil
}
func (x *SSHUpdateProfileRequest) GetExtensions() map[string]string {
if x != nil {
return x.Extensions
}
return nil
}
func (x *SSHUpdateProfileRequest) GetMaxTtl() string {
if x != nil {
return x.MaxTtl
}
return ""
}
func (x *SSHUpdateProfileRequest) GetAllowedPrincipals() []string {
if x != nil {
return x.AllowedPrincipals
}
return nil
}
type SSHUpdateProfileResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHUpdateProfileResponse) Reset() {
*x = SSHUpdateProfileResponse{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHUpdateProfileResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHUpdateProfileResponse) ProtoMessage() {}
func (x *SSHUpdateProfileResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHUpdateProfileResponse.ProtoReflect.Descriptor instead.
func (*SSHUpdateProfileResponse) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{9}
}
func (x *SSHUpdateProfileResponse) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type SSHGetProfileRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHGetProfileRequest) Reset() {
*x = SSHGetProfileRequest{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHGetProfileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHGetProfileRequest) ProtoMessage() {}
func (x *SSHGetProfileRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHGetProfileRequest.ProtoReflect.Descriptor instead.
func (*SSHGetProfileRequest) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{10}
}
func (x *SSHGetProfileRequest) GetMount() string {
if x != nil {
return x.Mount
}
return ""
}
func (x *SSHGetProfileRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type SSHGetProfileResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CriticalOptions map[string]string `protobuf:"bytes,2,rep,name=critical_options,json=criticalOptions,proto3" json:"critical_options,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Extensions map[string]string `protobuf:"bytes,3,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MaxTtl string `protobuf:"bytes,4,opt,name=max_ttl,json=maxTtl,proto3" json:"max_ttl,omitempty"`
AllowedPrincipals []string `protobuf:"bytes,5,rep,name=allowed_principals,json=allowedPrincipals,proto3" json:"allowed_principals,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHGetProfileResponse) Reset() {
*x = SSHGetProfileResponse{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHGetProfileResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHGetProfileResponse) ProtoMessage() {}
func (x *SSHGetProfileResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHGetProfileResponse.ProtoReflect.Descriptor instead.
func (*SSHGetProfileResponse) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{11}
}
func (x *SSHGetProfileResponse) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *SSHGetProfileResponse) GetCriticalOptions() map[string]string {
if x != nil {
return x.CriticalOptions
}
return nil
}
func (x *SSHGetProfileResponse) GetExtensions() map[string]string {
if x != nil {
return x.Extensions
}
return nil
}
func (x *SSHGetProfileResponse) GetMaxTtl() string {
if x != nil {
return x.MaxTtl
}
return ""
}
func (x *SSHGetProfileResponse) GetAllowedPrincipals() []string {
if x != nil {
return x.AllowedPrincipals
}
return nil
}
type SSHListProfilesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHListProfilesRequest) Reset() {
*x = SSHListProfilesRequest{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHListProfilesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHListProfilesRequest) ProtoMessage() {}
func (x *SSHListProfilesRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHListProfilesRequest.ProtoReflect.Descriptor instead.
func (*SSHListProfilesRequest) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{12}
}
func (x *SSHListProfilesRequest) GetMount() string {
if x != nil {
return x.Mount
}
return ""
}
type SSHListProfilesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Profiles []string `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHListProfilesResponse) Reset() {
*x = SSHListProfilesResponse{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHListProfilesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHListProfilesResponse) ProtoMessage() {}
func (x *SSHListProfilesResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHListProfilesResponse.ProtoReflect.Descriptor instead.
func (*SSHListProfilesResponse) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{13}
}
func (x *SSHListProfilesResponse) GetProfiles() []string {
if x != nil {
return x.Profiles
}
return nil
}
type SSHDeleteProfileRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHDeleteProfileRequest) Reset() {
*x = SSHDeleteProfileRequest{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHDeleteProfileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHDeleteProfileRequest) ProtoMessage() {}
func (x *SSHDeleteProfileRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHDeleteProfileRequest.ProtoReflect.Descriptor instead.
func (*SSHDeleteProfileRequest) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{14}
}
func (x *SSHDeleteProfileRequest) GetMount() string {
if x != nil {
return x.Mount
}
return ""
}
func (x *SSHDeleteProfileRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type SSHDeleteProfileResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHDeleteProfileResponse) Reset() {
*x = SSHDeleteProfileResponse{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHDeleteProfileResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHDeleteProfileResponse) ProtoMessage() {}
func (x *SSHDeleteProfileResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHDeleteProfileResponse.ProtoReflect.Descriptor instead.
func (*SSHDeleteProfileResponse) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{15}
}
type SSHGetCertRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
Serial string `protobuf:"bytes,2,opt,name=serial,proto3" json:"serial,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHGetCertRequest) Reset() {
*x = SSHGetCertRequest{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHGetCertRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHGetCertRequest) ProtoMessage() {}
func (x *SSHGetCertRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHGetCertRequest.ProtoReflect.Descriptor instead.
func (*SSHGetCertRequest) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{16}
}
func (x *SSHGetCertRequest) GetMount() string {
if x != nil {
return x.Mount
}
return ""
}
func (x *SSHGetCertRequest) GetSerial() string {
if x != nil {
return x.Serial
}
return ""
}
type SSHGetCertResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Cert *SSHCertRecord `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHGetCertResponse) Reset() {
*x = SSHGetCertResponse{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHGetCertResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHGetCertResponse) ProtoMessage() {}
func (x *SSHGetCertResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHGetCertResponse.ProtoReflect.Descriptor instead.
func (*SSHGetCertResponse) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{17}
}
func (x *SSHGetCertResponse) GetCert() *SSHCertRecord {
if x != nil {
return x.Cert
}
return nil
}
type SSHListCertsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHListCertsRequest) Reset() {
*x = SSHListCertsRequest{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHListCertsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHListCertsRequest) ProtoMessage() {}
func (x *SSHListCertsRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHListCertsRequest.ProtoReflect.Descriptor instead.
func (*SSHListCertsRequest) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{18}
}
func (x *SSHListCertsRequest) GetMount() string {
if x != nil {
return x.Mount
}
return ""
}
type SSHListCertsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Certs []*SSHCertSummary `protobuf:"bytes,1,rep,name=certs,proto3" json:"certs,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHListCertsResponse) Reset() {
*x = SSHListCertsResponse{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHListCertsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHListCertsResponse) ProtoMessage() {}
func (x *SSHListCertsResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHListCertsResponse.ProtoReflect.Descriptor instead.
func (*SSHListCertsResponse) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{19}
}
func (x *SSHListCertsResponse) GetCerts() []*SSHCertSummary {
if x != nil {
return x.Certs
}
return nil
}
type SSHRevokeCertRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
Serial string `protobuf:"bytes,2,opt,name=serial,proto3" json:"serial,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHRevokeCertRequest) Reset() {
*x = SSHRevokeCertRequest{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHRevokeCertRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHRevokeCertRequest) ProtoMessage() {}
func (x *SSHRevokeCertRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHRevokeCertRequest.ProtoReflect.Descriptor instead.
func (*SSHRevokeCertRequest) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{20}
}
func (x *SSHRevokeCertRequest) GetMount() string {
if x != nil {
return x.Mount
}
return ""
}
func (x *SSHRevokeCertRequest) GetSerial() string {
if x != nil {
return x.Serial
}
return ""
}
type SSHRevokeCertResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Serial string `protobuf:"bytes,1,opt,name=serial,proto3" json:"serial,omitempty"`
RevokedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=revoked_at,json=revokedAt,proto3" json:"revoked_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHRevokeCertResponse) Reset() {
*x = SSHRevokeCertResponse{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHRevokeCertResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHRevokeCertResponse) ProtoMessage() {}
func (x *SSHRevokeCertResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHRevokeCertResponse.ProtoReflect.Descriptor instead.
func (*SSHRevokeCertResponse) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{21}
}
func (x *SSHRevokeCertResponse) GetSerial() string {
if x != nil {
return x.Serial
}
return ""
}
func (x *SSHRevokeCertResponse) GetRevokedAt() *timestamppb.Timestamp {
if x != nil {
return x.RevokedAt
}
return nil
}
type SSHDeleteCertRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
Serial string `protobuf:"bytes,2,opt,name=serial,proto3" json:"serial,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHDeleteCertRequest) Reset() {
*x = SSHDeleteCertRequest{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHDeleteCertRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHDeleteCertRequest) ProtoMessage() {}
func (x *SSHDeleteCertRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHDeleteCertRequest.ProtoReflect.Descriptor instead.
func (*SSHDeleteCertRequest) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{22}
}
func (x *SSHDeleteCertRequest) GetMount() string {
if x != nil {
return x.Mount
}
return ""
}
func (x *SSHDeleteCertRequest) GetSerial() string {
if x != nil {
return x.Serial
}
return ""
}
type SSHDeleteCertResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHDeleteCertResponse) Reset() {
*x = SSHDeleteCertResponse{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHDeleteCertResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHDeleteCertResponse) ProtoMessage() {}
func (x *SSHDeleteCertResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHDeleteCertResponse.ProtoReflect.Descriptor instead.
func (*SSHDeleteCertResponse) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{23}
}
type SSHGetKRLRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mount string `protobuf:"bytes,1,opt,name=mount,proto3" json:"mount,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHGetKRLRequest) Reset() {
*x = SSHGetKRLRequest{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHGetKRLRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHGetKRLRequest) ProtoMessage() {}
func (x *SSHGetKRLRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHGetKRLRequest.ProtoReflect.Descriptor instead.
func (*SSHGetKRLRequest) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{24}
}
func (x *SSHGetKRLRequest) GetMount() string {
if x != nil {
return x.Mount
}
return ""
}
type SSHGetKRLResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// krl is the binary KRL data in OpenSSH KRL format.
Krl []byte `protobuf:"bytes,1,opt,name=krl,proto3" json:"krl,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHGetKRLResponse) Reset() {
*x = SSHGetKRLResponse{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHGetKRLResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHGetKRLResponse) ProtoMessage() {}
func (x *SSHGetKRLResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHGetKRLResponse.ProtoReflect.Descriptor instead.
func (*SSHGetKRLResponse) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{25}
}
func (x *SSHGetKRLResponse) GetKrl() []byte {
if x != nil {
return x.Krl
}
return nil
}
// SSHCertRecord is the full SSH certificate record.
type SSHCertRecord struct {
state protoimpl.MessageState `protogen:"open.v1"`
Serial string `protobuf:"bytes,1,opt,name=serial,proto3" json:"serial,omitempty"`
CertType string `protobuf:"bytes,2,opt,name=cert_type,json=certType,proto3" json:"cert_type,omitempty"`
Principals []string `protobuf:"bytes,3,rep,name=principals,proto3" json:"principals,omitempty"`
CertData string `protobuf:"bytes,4,opt,name=cert_data,json=certData,proto3" json:"cert_data,omitempty"`
KeyId string `protobuf:"bytes,5,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
Profile string `protobuf:"bytes,6,opt,name=profile,proto3" json:"profile,omitempty"`
IssuedBy string `protobuf:"bytes,7,opt,name=issued_by,json=issuedBy,proto3" json:"issued_by,omitempty"`
IssuedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
Revoked bool `protobuf:"varint,10,opt,name=revoked,proto3" json:"revoked,omitempty"`
RevokedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=revoked_at,json=revokedAt,proto3" json:"revoked_at,omitempty"`
RevokedBy string `protobuf:"bytes,12,opt,name=revoked_by,json=revokedBy,proto3" json:"revoked_by,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHCertRecord) Reset() {
*x = SSHCertRecord{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHCertRecord) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHCertRecord) ProtoMessage() {}
func (x *SSHCertRecord) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHCertRecord.ProtoReflect.Descriptor instead.
func (*SSHCertRecord) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{26}
}
func (x *SSHCertRecord) GetSerial() string {
if x != nil {
return x.Serial
}
return ""
}
func (x *SSHCertRecord) GetCertType() string {
if x != nil {
return x.CertType
}
return ""
}
func (x *SSHCertRecord) GetPrincipals() []string {
if x != nil {
return x.Principals
}
return nil
}
func (x *SSHCertRecord) GetCertData() string {
if x != nil {
return x.CertData
}
return ""
}
func (x *SSHCertRecord) GetKeyId() string {
if x != nil {
return x.KeyId
}
return ""
}
func (x *SSHCertRecord) GetProfile() string {
if x != nil {
return x.Profile
}
return ""
}
func (x *SSHCertRecord) GetIssuedBy() string {
if x != nil {
return x.IssuedBy
}
return ""
}
func (x *SSHCertRecord) GetIssuedAt() *timestamppb.Timestamp {
if x != nil {
return x.IssuedAt
}
return nil
}
func (x *SSHCertRecord) GetExpiresAt() *timestamppb.Timestamp {
if x != nil {
return x.ExpiresAt
}
return nil
}
func (x *SSHCertRecord) GetRevoked() bool {
if x != nil {
return x.Revoked
}
return false
}
func (x *SSHCertRecord) GetRevokedAt() *timestamppb.Timestamp {
if x != nil {
return x.RevokedAt
}
return nil
}
func (x *SSHCertRecord) GetRevokedBy() string {
if x != nil {
return x.RevokedBy
}
return ""
}
// SSHCertSummary is a lightweight SSH certificate record for list responses.
type SSHCertSummary struct {
state protoimpl.MessageState `protogen:"open.v1"`
Serial string `protobuf:"bytes,1,opt,name=serial,proto3" json:"serial,omitempty"`
CertType string `protobuf:"bytes,2,opt,name=cert_type,json=certType,proto3" json:"cert_type,omitempty"`
Principals []string `protobuf:"bytes,3,rep,name=principals,proto3" json:"principals,omitempty"`
KeyId string `protobuf:"bytes,4,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
Profile string `protobuf:"bytes,5,opt,name=profile,proto3" json:"profile,omitempty"`
IssuedBy string `protobuf:"bytes,6,opt,name=issued_by,json=issuedBy,proto3" json:"issued_by,omitempty"`
IssuedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
Revoked bool `protobuf:"varint,9,opt,name=revoked,proto3" json:"revoked,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHCertSummary) Reset() {
*x = SSHCertSummary{}
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHCertSummary) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHCertSummary) ProtoMessage() {}
func (x *SSHCertSummary) ProtoReflect() protoreflect.Message {
mi := &file_proto_metacrypt_v2_sshca_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SSHCertSummary.ProtoReflect.Descriptor instead.
func (*SSHCertSummary) Descriptor() ([]byte, []int) {
return file_proto_metacrypt_v2_sshca_proto_rawDescGZIP(), []int{27}
}
func (x *SSHCertSummary) GetSerial() string {
if x != nil {
return x.Serial
}
return ""
}
func (x *SSHCertSummary) GetCertType() string {
if x != nil {
return x.CertType
}
return ""
}
func (x *SSHCertSummary) GetPrincipals() []string {
if x != nil {
return x.Principals
}
return nil
}
func (x *SSHCertSummary) GetKeyId() string {
if x != nil {
return x.KeyId
}
return ""
}
func (x *SSHCertSummary) GetProfile() string {
if x != nil {
return x.Profile
}
return ""
}
func (x *SSHCertSummary) GetIssuedBy() string {
if x != nil {
return x.IssuedBy
}
return ""
}
func (x *SSHCertSummary) GetIssuedAt() *timestamppb.Timestamp {
if x != nil {
return x.IssuedAt
}
return nil
}
func (x *SSHCertSummary) GetExpiresAt() *timestamppb.Timestamp {
if x != nil {
return x.ExpiresAt
}
return nil
}
func (x *SSHCertSummary) GetRevoked() bool {
if x != nil {
return x.Revoked
}
return false
}
var File_proto_metacrypt_v2_sshca_proto protoreflect.FileDescriptor
const file_proto_metacrypt_v2_sshca_proto_rawDesc = "" +
"\n" +
"\x1eproto/metacrypt/v2/sshca.proto\x12\fmetacrypt.v2\x1a\x1fgoogle/protobuf/timestamp.proto\"0\n" +
"\x18SSHGetCAPublicKeyRequest\x12\x14\n" +
"\x05mount\x18\x01 \x01(\tR\x05mount\":\n" +
"\x19SSHGetCAPublicKeyResponse\x12\x1d\n" +
"\n" +
"public_key\x18\x01 \x01(\tR\tpublicKey\"w\n" +
"\x12SSHSignHostRequest\x12\x14\n" +
"\x05mount\x18\x01 \x01(\tR\x05mount\x12\x1d\n" +
"\n" +
"public_key\x18\x02 \x01(\tR\tpublicKey\x12\x1a\n" +
"\bhostname\x18\x03 \x01(\tR\bhostname\x12\x10\n" +
"\x03ttl\x18\x04 \x01(\tR\x03ttl\"\xaf\x02\n" +
"\x13SSHSignHostResponse\x12\x16\n" +
"\x06serial\x18\x01 \x01(\tR\x06serial\x12\x1b\n" +
"\tcert_type\x18\x02 \x01(\tR\bcertType\x12\x1e\n" +
"\n" +
"principals\x18\x03 \x03(\tR\n" +
"principals\x12\x1b\n" +
"\tcert_data\x18\x04 \x01(\tR\bcertData\x12\x15\n" +
"\x06key_id\x18\x05 \x01(\tR\x05keyId\x12\x1b\n" +
"\tissued_by\x18\x06 \x01(\tR\bissuedBy\x127\n" +
"\tissued_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\bissuedAt\x129\n" +
"\n" +
"expires_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\"\x95\x01\n" +
"\x12SSHSignUserRequest\x12\x14\n" +
"\x05mount\x18\x01 \x01(\tR\x05mount\x12\x1d\n" +
"\n" +
"public_key\x18\x02 \x01(\tR\tpublicKey\x12\x1e\n" +
"\n" +
"principals\x18\x03 \x03(\tR\n" +
"principals\x12\x18\n" +
"\aprofile\x18\x04 \x01(\tR\aprofile\x12\x10\n" +
"\x03ttl\x18\x05 \x01(\tR\x03ttl\"\xc9\x02\n" +
"\x13SSHSignUserResponse\x12\x16\n" +
"\x06serial\x18\x01 \x01(\tR\x06serial\x12\x1b\n" +
"\tcert_type\x18\x02 \x01(\tR\bcertType\x12\x1e\n" +
"\n" +
"principals\x18\x03 \x03(\tR\n" +
"principals\x12\x1b\n" +
"\tcert_data\x18\x04 \x01(\tR\bcertData\x12\x15\n" +
"\x06key_id\x18\x05 \x01(\tR\x05keyId\x12\x18\n" +
"\aprofile\x18\x06 \x01(\tR\aprofile\x12\x1b\n" +
"\tissued_by\x18\a \x01(\tR\bissuedBy\x127\n" +
"\tissued_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\bissuedAt\x129\n" +
"\n" +
"expires_at\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\"\xcc\x03\n" +
"\x17SSHCreateProfileRequest\x12\x14\n" +
"\x05mount\x18\x01 \x01(\tR\x05mount\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12e\n" +
"\x10critical_options\x18\x03 \x03(\v2:.metacrypt.v2.SSHCreateProfileRequest.CriticalOptionsEntryR\x0fcriticalOptions\x12U\n" +
"\n" +
"extensions\x18\x04 \x03(\v25.metacrypt.v2.SSHCreateProfileRequest.ExtensionsEntryR\n" +
"extensions\x12\x17\n" +
"\amax_ttl\x18\x05 \x01(\tR\x06maxTtl\x12-\n" +
"\x12allowed_principals\x18\x06 \x03(\tR\x11allowedPrincipals\x1aB\n" +
"\x14CriticalOptionsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a=\n" +
"\x0fExtensionsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\".\n" +
"\x18SSHCreateProfileResponse\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\"\xcc\x03\n" +
"\x17SSHUpdateProfileRequest\x12\x14\n" +
"\x05mount\x18\x01 \x01(\tR\x05mount\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12e\n" +
"\x10critical_options\x18\x03 \x03(\v2:.metacrypt.v2.SSHUpdateProfileRequest.CriticalOptionsEntryR\x0fcriticalOptions\x12U\n" +
"\n" +
"extensions\x18\x04 \x03(\v25.metacrypt.v2.SSHUpdateProfileRequest.ExtensionsEntryR\n" +
"extensions\x12\x17\n" +
"\amax_ttl\x18\x05 \x01(\tR\x06maxTtl\x12-\n" +
"\x12allowed_principals\x18\x06 \x03(\tR\x11allowedPrincipals\x1aB\n" +
"\x14CriticalOptionsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a=\n" +
"\x0fExtensionsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\".\n" +
"\x18SSHUpdateProfileResponse\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\"@\n" +
"\x14SSHGetProfileRequest\x12\x14\n" +
"\x05mount\x18\x01 \x01(\tR\x05mount\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\"\xb0\x03\n" +
"\x15SSHGetProfileResponse\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12c\n" +
"\x10critical_options\x18\x02 \x03(\v28.metacrypt.v2.SSHGetProfileResponse.CriticalOptionsEntryR\x0fcriticalOptions\x12S\n" +
"\n" +
"extensions\x18\x03 \x03(\v23.metacrypt.v2.SSHGetProfileResponse.ExtensionsEntryR\n" +
"extensions\x12\x17\n" +
"\amax_ttl\x18\x04 \x01(\tR\x06maxTtl\x12-\n" +
"\x12allowed_principals\x18\x05 \x03(\tR\x11allowedPrincipals\x1aB\n" +
"\x14CriticalOptionsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a=\n" +
"\x0fExtensionsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\".\n" +
"\x16SSHListProfilesRequest\x12\x14\n" +
"\x05mount\x18\x01 \x01(\tR\x05mount\"5\n" +
"\x17SSHListProfilesResponse\x12\x1a\n" +
"\bprofiles\x18\x01 \x03(\tR\bprofiles\"C\n" +
"\x17SSHDeleteProfileRequest\x12\x14\n" +
"\x05mount\x18\x01 \x01(\tR\x05mount\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\"\x1a\n" +
"\x18SSHDeleteProfileResponse\"A\n" +
"\x11SSHGetCertRequest\x12\x14\n" +
"\x05mount\x18\x01 \x01(\tR\x05mount\x12\x16\n" +
"\x06serial\x18\x02 \x01(\tR\x06serial\"E\n" +
"\x12SSHGetCertResponse\x12/\n" +
"\x04cert\x18\x01 \x01(\v2\x1b.metacrypt.v2.SSHCertRecordR\x04cert\"+\n" +
"\x13SSHListCertsRequest\x12\x14\n" +
"\x05mount\x18\x01 \x01(\tR\x05mount\"J\n" +
"\x14SSHListCertsResponse\x122\n" +
"\x05certs\x18\x01 \x03(\v2\x1c.metacrypt.v2.SSHCertSummaryR\x05certs\"D\n" +
"\x14SSHRevokeCertRequest\x12\x14\n" +
"\x05mount\x18\x01 \x01(\tR\x05mount\x12\x16\n" +
"\x06serial\x18\x02 \x01(\tR\x06serial\"j\n" +
"\x15SSHRevokeCertResponse\x12\x16\n" +
"\x06serial\x18\x01 \x01(\tR\x06serial\x129\n" +
"\n" +
"revoked_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\trevokedAt\"D\n" +
"\x14SSHDeleteCertRequest\x12\x14\n" +
"\x05mount\x18\x01 \x01(\tR\x05mount\x12\x16\n" +
"\x06serial\x18\x02 \x01(\tR\x06serial\"\x17\n" +
"\x15SSHDeleteCertResponse\"(\n" +
"\x10SSHGetKRLRequest\x12\x14\n" +
"\x05mount\x18\x01 \x01(\tR\x05mount\"%\n" +
"\x11SSHGetKRLResponse\x12\x10\n" +
"\x03krl\x18\x01 \x01(\fR\x03krl\"\xb7\x03\n" +
"\rSSHCertRecord\x12\x16\n" +
"\x06serial\x18\x01 \x01(\tR\x06serial\x12\x1b\n" +
"\tcert_type\x18\x02 \x01(\tR\bcertType\x12\x1e\n" +
"\n" +
"principals\x18\x03 \x03(\tR\n" +
"principals\x12\x1b\n" +
"\tcert_data\x18\x04 \x01(\tR\bcertData\x12\x15\n" +
"\x06key_id\x18\x05 \x01(\tR\x05keyId\x12\x18\n" +
"\aprofile\x18\x06 \x01(\tR\aprofile\x12\x1b\n" +
"\tissued_by\x18\a \x01(\tR\bissuedBy\x127\n" +
"\tissued_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\bissuedAt\x129\n" +
"\n" +
"expires_at\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\x12\x18\n" +
"\arevoked\x18\n" +
" \x01(\bR\arevoked\x129\n" +
"\n" +
"revoked_at\x18\v \x01(\v2\x1a.google.protobuf.TimestampR\trevokedAt\x12\x1d\n" +
"\n" +
"revoked_by\x18\f \x01(\tR\trevokedBy\"\xc1\x02\n" +
"\x0eSSHCertSummary\x12\x16\n" +
"\x06serial\x18\x01 \x01(\tR\x06serial\x12\x1b\n" +
"\tcert_type\x18\x02 \x01(\tR\bcertType\x12\x1e\n" +
"\n" +
"principals\x18\x03 \x03(\tR\n" +
"principals\x12\x15\n" +
"\x06key_id\x18\x04 \x01(\tR\x05keyId\x12\x18\n" +
"\aprofile\x18\x05 \x01(\tR\aprofile\x12\x1b\n" +
"\tissued_by\x18\x06 \x01(\tR\bissuedBy\x127\n" +
"\tissued_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\bissuedAt\x129\n" +
"\n" +
"expires_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\x12\x18\n" +
"\arevoked\x18\t \x01(\bR\arevoked2\x82\t\n" +
"\fSSHCAService\x12a\n" +
"\x0eGetCAPublicKey\x12&.metacrypt.v2.SSHGetCAPublicKeyRequest\x1a'.metacrypt.v2.SSHGetCAPublicKeyResponse\x12O\n" +
"\bSignHost\x12 .metacrypt.v2.SSHSignHostRequest\x1a!.metacrypt.v2.SSHSignHostResponse\x12O\n" +
"\bSignUser\x12 .metacrypt.v2.SSHSignUserRequest\x1a!.metacrypt.v2.SSHSignUserResponse\x12^\n" +
"\rCreateProfile\x12%.metacrypt.v2.SSHCreateProfileRequest\x1a&.metacrypt.v2.SSHCreateProfileResponse\x12^\n" +
"\rUpdateProfile\x12%.metacrypt.v2.SSHUpdateProfileRequest\x1a&.metacrypt.v2.SSHUpdateProfileResponse\x12U\n" +
"\n" +
"GetProfile\x12\".metacrypt.v2.SSHGetProfileRequest\x1a#.metacrypt.v2.SSHGetProfileResponse\x12[\n" +
"\fListProfiles\x12$.metacrypt.v2.SSHListProfilesRequest\x1a%.metacrypt.v2.SSHListProfilesResponse\x12^\n" +
"\rDeleteProfile\x12%.metacrypt.v2.SSHDeleteProfileRequest\x1a&.metacrypt.v2.SSHDeleteProfileResponse\x12L\n" +
"\aGetCert\x12\x1f.metacrypt.v2.SSHGetCertRequest\x1a .metacrypt.v2.SSHGetCertResponse\x12R\n" +
"\tListCerts\x12!.metacrypt.v2.SSHListCertsRequest\x1a\".metacrypt.v2.SSHListCertsResponse\x12U\n" +
"\n" +
"RevokeCert\x12\".metacrypt.v2.SSHRevokeCertRequest\x1a#.metacrypt.v2.SSHRevokeCertResponse\x12U\n" +
"\n" +
"DeleteCert\x12\".metacrypt.v2.SSHDeleteCertRequest\x1a#.metacrypt.v2.SSHDeleteCertResponse\x12I\n" +
"\x06GetKRL\x12\x1e.metacrypt.v2.SSHGetKRLRequest\x1a\x1f.metacrypt.v2.SSHGetKRLResponseB<Z:git.wntrmute.dev/mc/metacrypt/gen/metacrypt/v2;metacryptv2b\x06proto3"
var (
file_proto_metacrypt_v2_sshca_proto_rawDescOnce sync.Once
file_proto_metacrypt_v2_sshca_proto_rawDescData []byte
)
func file_proto_metacrypt_v2_sshca_proto_rawDescGZIP() []byte {
file_proto_metacrypt_v2_sshca_proto_rawDescOnce.Do(func() {
file_proto_metacrypt_v2_sshca_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_metacrypt_v2_sshca_proto_rawDesc), len(file_proto_metacrypt_v2_sshca_proto_rawDesc)))
})
return file_proto_metacrypt_v2_sshca_proto_rawDescData
}
var file_proto_metacrypt_v2_sshca_proto_msgTypes = make([]protoimpl.MessageInfo, 34)
var file_proto_metacrypt_v2_sshca_proto_goTypes = []any{
(*SSHGetCAPublicKeyRequest)(nil), // 0: metacrypt.v2.SSHGetCAPublicKeyRequest
(*SSHGetCAPublicKeyResponse)(nil), // 1: metacrypt.v2.SSHGetCAPublicKeyResponse
(*SSHSignHostRequest)(nil), // 2: metacrypt.v2.SSHSignHostRequest
(*SSHSignHostResponse)(nil), // 3: metacrypt.v2.SSHSignHostResponse
(*SSHSignUserRequest)(nil), // 4: metacrypt.v2.SSHSignUserRequest
(*SSHSignUserResponse)(nil), // 5: metacrypt.v2.SSHSignUserResponse
(*SSHCreateProfileRequest)(nil), // 6: metacrypt.v2.SSHCreateProfileRequest
(*SSHCreateProfileResponse)(nil), // 7: metacrypt.v2.SSHCreateProfileResponse
(*SSHUpdateProfileRequest)(nil), // 8: metacrypt.v2.SSHUpdateProfileRequest
(*SSHUpdateProfileResponse)(nil), // 9: metacrypt.v2.SSHUpdateProfileResponse
(*SSHGetProfileRequest)(nil), // 10: metacrypt.v2.SSHGetProfileRequest
(*SSHGetProfileResponse)(nil), // 11: metacrypt.v2.SSHGetProfileResponse
(*SSHListProfilesRequest)(nil), // 12: metacrypt.v2.SSHListProfilesRequest
(*SSHListProfilesResponse)(nil), // 13: metacrypt.v2.SSHListProfilesResponse
(*SSHDeleteProfileRequest)(nil), // 14: metacrypt.v2.SSHDeleteProfileRequest
(*SSHDeleteProfileResponse)(nil), // 15: metacrypt.v2.SSHDeleteProfileResponse
(*SSHGetCertRequest)(nil), // 16: metacrypt.v2.SSHGetCertRequest
(*SSHGetCertResponse)(nil), // 17: metacrypt.v2.SSHGetCertResponse
(*SSHListCertsRequest)(nil), // 18: metacrypt.v2.SSHListCertsRequest
(*SSHListCertsResponse)(nil), // 19: metacrypt.v2.SSHListCertsResponse
(*SSHRevokeCertRequest)(nil), // 20: metacrypt.v2.SSHRevokeCertRequest
(*SSHRevokeCertResponse)(nil), // 21: metacrypt.v2.SSHRevokeCertResponse
(*SSHDeleteCertRequest)(nil), // 22: metacrypt.v2.SSHDeleteCertRequest
(*SSHDeleteCertResponse)(nil), // 23: metacrypt.v2.SSHDeleteCertResponse
(*SSHGetKRLRequest)(nil), // 24: metacrypt.v2.SSHGetKRLRequest
(*SSHGetKRLResponse)(nil), // 25: metacrypt.v2.SSHGetKRLResponse
(*SSHCertRecord)(nil), // 26: metacrypt.v2.SSHCertRecord
(*SSHCertSummary)(nil), // 27: metacrypt.v2.SSHCertSummary
nil, // 28: metacrypt.v2.SSHCreateProfileRequest.CriticalOptionsEntry
nil, // 29: metacrypt.v2.SSHCreateProfileRequest.ExtensionsEntry
nil, // 30: metacrypt.v2.SSHUpdateProfileRequest.CriticalOptionsEntry
nil, // 31: metacrypt.v2.SSHUpdateProfileRequest.ExtensionsEntry
nil, // 32: metacrypt.v2.SSHGetProfileResponse.CriticalOptionsEntry
nil, // 33: metacrypt.v2.SSHGetProfileResponse.ExtensionsEntry
(*timestamppb.Timestamp)(nil), // 34: google.protobuf.Timestamp
}
var file_proto_metacrypt_v2_sshca_proto_depIdxs = []int32{
34, // 0: metacrypt.v2.SSHSignHostResponse.issued_at:type_name -> google.protobuf.Timestamp
34, // 1: metacrypt.v2.SSHSignHostResponse.expires_at:type_name -> google.protobuf.Timestamp
34, // 2: metacrypt.v2.SSHSignUserResponse.issued_at:type_name -> google.protobuf.Timestamp
34, // 3: metacrypt.v2.SSHSignUserResponse.expires_at:type_name -> google.protobuf.Timestamp
28, // 4: metacrypt.v2.SSHCreateProfileRequest.critical_options:type_name -> metacrypt.v2.SSHCreateProfileRequest.CriticalOptionsEntry
29, // 5: metacrypt.v2.SSHCreateProfileRequest.extensions:type_name -> metacrypt.v2.SSHCreateProfileRequest.ExtensionsEntry
30, // 6: metacrypt.v2.SSHUpdateProfileRequest.critical_options:type_name -> metacrypt.v2.SSHUpdateProfileRequest.CriticalOptionsEntry
31, // 7: metacrypt.v2.SSHUpdateProfileRequest.extensions:type_name -> metacrypt.v2.SSHUpdateProfileRequest.ExtensionsEntry
32, // 8: metacrypt.v2.SSHGetProfileResponse.critical_options:type_name -> metacrypt.v2.SSHGetProfileResponse.CriticalOptionsEntry
33, // 9: metacrypt.v2.SSHGetProfileResponse.extensions:type_name -> metacrypt.v2.SSHGetProfileResponse.ExtensionsEntry
26, // 10: metacrypt.v2.SSHGetCertResponse.cert:type_name -> metacrypt.v2.SSHCertRecord
27, // 11: metacrypt.v2.SSHListCertsResponse.certs:type_name -> metacrypt.v2.SSHCertSummary
34, // 12: metacrypt.v2.SSHRevokeCertResponse.revoked_at:type_name -> google.protobuf.Timestamp
34, // 13: metacrypt.v2.SSHCertRecord.issued_at:type_name -> google.protobuf.Timestamp
34, // 14: metacrypt.v2.SSHCertRecord.expires_at:type_name -> google.protobuf.Timestamp
34, // 15: metacrypt.v2.SSHCertRecord.revoked_at:type_name -> google.protobuf.Timestamp
34, // 16: metacrypt.v2.SSHCertSummary.issued_at:type_name -> google.protobuf.Timestamp
34, // 17: metacrypt.v2.SSHCertSummary.expires_at:type_name -> google.protobuf.Timestamp
0, // 18: metacrypt.v2.SSHCAService.GetCAPublicKey:input_type -> metacrypt.v2.SSHGetCAPublicKeyRequest
2, // 19: metacrypt.v2.SSHCAService.SignHost:input_type -> metacrypt.v2.SSHSignHostRequest
4, // 20: metacrypt.v2.SSHCAService.SignUser:input_type -> metacrypt.v2.SSHSignUserRequest
6, // 21: metacrypt.v2.SSHCAService.CreateProfile:input_type -> metacrypt.v2.SSHCreateProfileRequest
8, // 22: metacrypt.v2.SSHCAService.UpdateProfile:input_type -> metacrypt.v2.SSHUpdateProfileRequest
10, // 23: metacrypt.v2.SSHCAService.GetProfile:input_type -> metacrypt.v2.SSHGetProfileRequest
12, // 24: metacrypt.v2.SSHCAService.ListProfiles:input_type -> metacrypt.v2.SSHListProfilesRequest
14, // 25: metacrypt.v2.SSHCAService.DeleteProfile:input_type -> metacrypt.v2.SSHDeleteProfileRequest
16, // 26: metacrypt.v2.SSHCAService.GetCert:input_type -> metacrypt.v2.SSHGetCertRequest
18, // 27: metacrypt.v2.SSHCAService.ListCerts:input_type -> metacrypt.v2.SSHListCertsRequest
20, // 28: metacrypt.v2.SSHCAService.RevokeCert:input_type -> metacrypt.v2.SSHRevokeCertRequest
22, // 29: metacrypt.v2.SSHCAService.DeleteCert:input_type -> metacrypt.v2.SSHDeleteCertRequest
24, // 30: metacrypt.v2.SSHCAService.GetKRL:input_type -> metacrypt.v2.SSHGetKRLRequest
1, // 31: metacrypt.v2.SSHCAService.GetCAPublicKey:output_type -> metacrypt.v2.SSHGetCAPublicKeyResponse
3, // 32: metacrypt.v2.SSHCAService.SignHost:output_type -> metacrypt.v2.SSHSignHostResponse
5, // 33: metacrypt.v2.SSHCAService.SignUser:output_type -> metacrypt.v2.SSHSignUserResponse
7, // 34: metacrypt.v2.SSHCAService.CreateProfile:output_type -> metacrypt.v2.SSHCreateProfileResponse
9, // 35: metacrypt.v2.SSHCAService.UpdateProfile:output_type -> metacrypt.v2.SSHUpdateProfileResponse
11, // 36: metacrypt.v2.SSHCAService.GetProfile:output_type -> metacrypt.v2.SSHGetProfileResponse
13, // 37: metacrypt.v2.SSHCAService.ListProfiles:output_type -> metacrypt.v2.SSHListProfilesResponse
15, // 38: metacrypt.v2.SSHCAService.DeleteProfile:output_type -> metacrypt.v2.SSHDeleteProfileResponse
17, // 39: metacrypt.v2.SSHCAService.GetCert:output_type -> metacrypt.v2.SSHGetCertResponse
19, // 40: metacrypt.v2.SSHCAService.ListCerts:output_type -> metacrypt.v2.SSHListCertsResponse
21, // 41: metacrypt.v2.SSHCAService.RevokeCert:output_type -> metacrypt.v2.SSHRevokeCertResponse
23, // 42: metacrypt.v2.SSHCAService.DeleteCert:output_type -> metacrypt.v2.SSHDeleteCertResponse
25, // 43: metacrypt.v2.SSHCAService.GetKRL:output_type -> metacrypt.v2.SSHGetKRLResponse
31, // [31:44] is the sub-list for method output_type
18, // [18:31] is the sub-list for method input_type
18, // [18:18] is the sub-list for extension type_name
18, // [18:18] is the sub-list for extension extendee
0, // [0:18] is the sub-list for field type_name
}
func init() { file_proto_metacrypt_v2_sshca_proto_init() }
func file_proto_metacrypt_v2_sshca_proto_init() {
if File_proto_metacrypt_v2_sshca_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_metacrypt_v2_sshca_proto_rawDesc), len(file_proto_metacrypt_v2_sshca_proto_rawDesc)),
NumEnums: 0,
NumMessages: 34,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_proto_metacrypt_v2_sshca_proto_goTypes,
DependencyIndexes: file_proto_metacrypt_v2_sshca_proto_depIdxs,
MessageInfos: file_proto_metacrypt_v2_sshca_proto_msgTypes,
}.Build()
File_proto_metacrypt_v2_sshca_proto = out.File
file_proto_metacrypt_v2_sshca_proto_goTypes = nil
file_proto_metacrypt_v2_sshca_proto_depIdxs = nil
}