Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCertificateFromCSR ¶
func GenerateCertificateFromCSR(crt, key, csr []byte) (signed *x509.Certificate, err error)
GenerateCertificateFromCSR creates a signed certificate using the provided certificate, key, and CSR.
Types ¶
type Registrator ¶
type Registrator struct {
Data *userdata.OSSecurity
}
Registrator is the concrete type that implements the factory.Registrator and proto.ROTDServer interfaces.
func (*Registrator) Certificate ¶
func (r *Registrator) Certificate(ctx context.Context, in *proto.CertificateRequest) (resp *proto.CertificateResponse, err error)
Certificate implements the proto.ROTDServer interface.
func (*Registrator) Register ¶
func (r *Registrator) Register(s *grpc.Server)
Register implements the factory.Registrator interface.
Click to show internal directories.
Click to hide internal directories.