Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct {
// contains filtered or unexported fields
}
func New ¶
func New(privateKey, publicKey []byte) *Certificate
func (*Certificate) RevokeKeys ¶
func (c *Certificate) RevokeKeys(serialIDs ...int64) ([]byte, error)
RevokeKeys revokes a list of keys golang.org/x/crypto/ssh not support revoke keys, use ssh-keygen -k to revoke keys e.g ssh-keygen -k -f revoked-keys -s ca list-to-revoke FIXME: if golang.org/x/crypto/ssh support revoke keys, replace this function
Click to show internal directories.
Click to hide internal directories.