Documentation ¶
Index ¶
- Constants
- func ConvertSecondsToTime(t int64) time.Time
- func DecryptPkcs8PrivateKey(privateKey, password string) (string, error)
- func GenerateSshKeyPair(bitSize int, keyPassword, certId string) ([]byte, []byte, error)
- func GetJsonAsString(i interface{}) (s string)
- func SaveZipFile(path string, dataByte []byte) error
Constants ¶
View Source
const ( IssuerHintMicrosoft = "MICROSOFT" IssuerHintDigicert = "DIGICERT" IssuerHintEntrust = "ENTRUST" PathSeparator = "\\" ApplicationServerTypeID = "784938d1-ef0d-11eb-9461-7bb533ba575b" )
View Source
const (
RsaPrivKeyType = "RSA PRIVATE KEY"
)
Variables ¶
This section is empty.
Functions ¶
func ConvertSecondsToTime ¶ added in v4.15.0
func DecryptPkcs8PrivateKey ¶ added in v4.16.0
func GenerateSshKeyPair ¶ added in v4.15.0
func GetJsonAsString ¶ added in v4.15.0
func GetJsonAsString(i interface{}) (s string)
func SaveZipFile ¶ added in v4.16.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.