journal

package
v0.11.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entries

type Entries struct {
	X509CAs              []*X509CAEntry `protobuf:"bytes,1,rep,name=x509CAs,proto3" json:"x509CAs,omitempty"`
	JwtKeys              []*JWTKeyEntry `protobuf:"bytes,2,rep,name=jwtKeys,proto3" json:"jwtKeys,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Entries) Descriptor

func (*Entries) Descriptor() ([]byte, []int)

func (*Entries) GetJwtKeys

func (m *Entries) GetJwtKeys() []*JWTKeyEntry

func (*Entries) GetX509CAs

func (m *Entries) GetX509CAs() []*X509CAEntry

func (*Entries) ProtoMessage

func (*Entries) ProtoMessage()

func (*Entries) Reset

func (m *Entries) Reset()

func (*Entries) String

func (m *Entries) String() string

func (*Entries) XXX_DiscardUnknown

func (m *Entries) XXX_DiscardUnknown()

func (*Entries) XXX_Marshal

func (m *Entries) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Entries) XXX_Merge

func (m *Entries) XXX_Merge(src proto.Message)

func (*Entries) XXX_Size

func (m *Entries) XXX_Size() int

func (*Entries) XXX_Unmarshal

func (m *Entries) XXX_Unmarshal(b []byte) error

type JWTKeyEntry

type JWTKeyEntry struct {
	// Which JWT Key slot this entry occupied.
	SlotId string `protobuf:"bytes,1,opt,name=slot_id,json=slotId,proto3" json:"slot_id,omitempty"`
	// When the key was issued (unix epoch in seconds)
	IssuedAt int64 `protobuf:"varint,2,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
	// When the key expires unix epoch in seconds)
	NotAfter int64 `protobuf:"varint,3,opt,name=not_after,json=notAfter,proto3" json:"not_after,omitempty"`
	// JWT key id (i.e. "kid" claim)
	Kid string `protobuf:"bytes,4,opt,name=kid,proto3" json:"kid,omitempty"`
	// PKIX encoded public key
	PublicKey            []byte   `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*JWTKeyEntry) Descriptor

func (*JWTKeyEntry) Descriptor() ([]byte, []int)

func (*JWTKeyEntry) GetIssuedAt

func (m *JWTKeyEntry) GetIssuedAt() int64

func (*JWTKeyEntry) GetKid

func (m *JWTKeyEntry) GetKid() string

func (*JWTKeyEntry) GetNotAfter

func (m *JWTKeyEntry) GetNotAfter() int64

func (*JWTKeyEntry) GetPublicKey

func (m *JWTKeyEntry) GetPublicKey() []byte

func (*JWTKeyEntry) GetSlotId

func (m *JWTKeyEntry) GetSlotId() string

func (*JWTKeyEntry) ProtoMessage

func (*JWTKeyEntry) ProtoMessage()

func (*JWTKeyEntry) Reset

func (m *JWTKeyEntry) Reset()

func (*JWTKeyEntry) String

func (m *JWTKeyEntry) String() string

func (*JWTKeyEntry) XXX_DiscardUnknown

func (m *JWTKeyEntry) XXX_DiscardUnknown()

func (*JWTKeyEntry) XXX_Marshal

func (m *JWTKeyEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JWTKeyEntry) XXX_Merge

func (m *JWTKeyEntry) XXX_Merge(src proto.Message)

func (*JWTKeyEntry) XXX_Size

func (m *JWTKeyEntry) XXX_Size() int

func (*JWTKeyEntry) XXX_Unmarshal

func (m *JWTKeyEntry) XXX_Unmarshal(b []byte) error

type X509CAEntry

type X509CAEntry struct {
	// Which X509 CA slot this entry occupied.
	SlotId string `protobuf:"bytes,1,opt,name=slot_id,json=slotId,proto3" json:"slot_id,omitempty"`
	// When the CA was issued (unix epoch in seconds)
	IssuedAt int64 `protobuf:"varint,2,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
	// DER encoded CA certificate
	Certificate []byte `protobuf:"bytes,3,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// DER encoded upstream CA chain. See the X509CA struct for details.
	UpstreamChain        [][]byte `protobuf:"bytes,4,rep,name=upstream_chain,json=upstreamChain,proto3" json:"upstream_chain,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*X509CAEntry) Descriptor

func (*X509CAEntry) Descriptor() ([]byte, []int)

func (*X509CAEntry) GetCertificate

func (m *X509CAEntry) GetCertificate() []byte

func (*X509CAEntry) GetIssuedAt

func (m *X509CAEntry) GetIssuedAt() int64

func (*X509CAEntry) GetSlotId

func (m *X509CAEntry) GetSlotId() string

func (*X509CAEntry) GetUpstreamChain

func (m *X509CAEntry) GetUpstreamChain() [][]byte

func (*X509CAEntry) ProtoMessage

func (*X509CAEntry) ProtoMessage()

func (*X509CAEntry) Reset

func (m *X509CAEntry) Reset()

func (*X509CAEntry) String

func (m *X509CAEntry) String() string

func (*X509CAEntry) XXX_DiscardUnknown

func (m *X509CAEntry) XXX_DiscardUnknown()

func (*X509CAEntry) XXX_Marshal

func (m *X509CAEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*X509CAEntry) XXX_Merge

func (m *X509CAEntry) XXX_Merge(src proto.Message)

func (*X509CAEntry) XXX_Size

func (m *X509CAEntry) XXX_Size() int

func (*X509CAEntry) XXX_Unmarshal

func (m *X509CAEntry) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL