Versions in this module Expand all Collapse all v0 v0.13.0 Feb 29, 2024 v0.12.2 Sep 15, 2023 Changes in this version + const CredentialsRootPath + const ErrTextStoreByWrongOption + const ErrorTextInvalidMode + const ErrorTextNeed2RefreshTokens + const ErrorTextNoStoreAndStoreByCNOrSerialConflict + const ErrorTextNoStoreAndStoreByConflict + const ErrorTextStoreByAndStoreByCNOrSerialConflict + const ErrorTextURLEmpty + const ErrorTextValueMustBeLess + const ErrorTextVenafiSecretEmpty + const ErrorTextZoneEmpty + const Role_ttl_test_property + const StoreByCNString + const StoreByHASHstring + const StoreBySerialString + const Ttl_test_property + var ErrorTextMixedTPPAndCloud = fmt.Sprintf(errorMultiModeMessage, tppMode, cloudMode) + var ErrorTextMixedTPPAndToken = fmt.Sprintf(errorMultiModeMessage, tppMode, tokenMode) + var ErrorTextMixedTokenAndCloud = fmt.Sprintf(errorMultiModeMessage, tokenMode, cloudMode) + func AddSeparatorToHexFormattedString(s string, sep string) (string, error) + func AreDNSNamesCorrect(actualAltNames []string, expectedCNNames []string, expectedAltNames []string) bool + func CopyMap(m map[string]interface{}) map[string]interface + func DecryptPkcs8PrivateKey(privateKey string, password string) (string, error) + func EncryptPkcs1PrivateKey(privateKey string, password string) (string, error) + func EncryptPrivateKey(privateKey string, password string) (string, error) + func GetHexFormatted(buf []byte, sep string) (string, error) + func GetPrivateKey(keyBytes []byte, passphrase string) ([]byte, error) + func GetStatusCode(msg string) int64 + func NormalizeSerial(serial string) string + func RandRunes(n int) string + func RemoveDuplicateStr(strSlice *[]string) + func SameIpSlice(x, y []net.IP) bool + func SameStringSlice(x, y []string) bool + func Sha1sum(s string) string + func ShortDurationString(d time.Duration) string + func SliceContains(slice []string, item string) bool + func StringSlicesEqual(a []string, b []string) bool