Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RingNumberOid asn1.ObjectIdentifier = []int{2, 5, 13, 37}
)
Functions ¶
This section is empty.
Types ¶
type Ca ¶
type Ca struct {
// contains filtered or unexported fields
}
func NewCa ¶
Create and returns a new certificate authority instance. Generates a private/public keypair for internal use.
func (*Ca) Addr ¶
Returns the address(ip:port) of the certificate authority, this can be directly used as input to the ifrit client entry address.
func (*Ca) SaveCertificate ¶
SaveCertificate Public key / certificate to the given io object.
func (*Ca) SavePrivateKey ¶
SavePrivateKey writes the CA private key to the given io object.
Click to show internal directories.
Click to hide internal directories.