Documentation ¶
Index ¶
- func GenerateKeyPair() (*rsa.PrivateKey, error)
- func GenerateRootPemFile(host, certFile, keyFile string) error
- func InitCert() (*x509.Certificate, crypto.Signer, error)
- func InitEthClient(ctx context.Context) (*contract.EthClient, func(), error)
- func InitLogger() (func(), error)
- func InitOcspCache() *memorycacher.Cache
- func InitRootCert() error
- func InitStorage() (storage.ExecCloser, func(), error)
- type CfsslHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKeyPair ¶
func GenerateKeyPair() (*rsa.PrivateKey, error)
GenerateKeyPair 生成一对具有指定字位数的RSA密钥
func GenerateRootPemFile ¶
GenerateRootPemFile 生成新的根证书
func InitOcspCache ¶
func InitOcspCache() *memorycacher.Cache
Types ¶
Click to show internal directories.
Click to hide internal directories.