sign

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	CertificateRequest []byte `json:"certificateRequest"`
	Profile            string `json:"profile"`
}

Request signing

type Response

type Response struct {
	Certificate []byte `json:"certificate"`
}

Response from lambda

type Signer

type Signer struct {
	// contains filtered or unexported fields
}

Signer class for signing a cert

func New

func New(store store.Store) (Signer, error)

New Signer

func (Signer) Sign

func (s Signer) Sign(req signer.SignRequest) ([]byte, error)

Sign sign a request

type SignerConfig

type SignerConfig struct {
}

SignerConfig config the signer

Jump to

Keyboard shortcuts

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