Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthVersionOID = asn1.ObjectIdentifier{2, 23, 133, 2, 6}
Functions ¶
Types ¶
type KeyPairManager ¶
type KeyPairManager interface { KeyExists() (bool, error) Generate(notBefore, notAfter time.Time, domains []string) error // Read the PEM blocks, containing the cert, private key, & public key Read(fin ...io.Reader) ([]byte, []byte, []byte, error) ReadX509KeyPair(fin ...io.Reader) (*x509.Certificate, tls.Certificate, error) }
func NewKeyPairManager ¶
func NewKeyPairManager(cctx sdkclient.Context, fromAddress sdk.AccAddress) (KeyPairManager, error)
Click to show internal directories.
Click to hide internal directories.