Documentation ¶
Index ¶
- Constants
- func CheckPEMBlock(pemBlock *pem.Block, blockType string) error
- func CreateCAPool(CAPath string) (*x509.CertPool, error)
- func DecodeB64(message string) (string, error)
- func EncodeB64(src []byte) []byte
- func GenerateCSR(csr *x509.CertificateRequest, key interface{}) (*x509.CertificateRequest, error)
- func InsertNth(s string, n int) string
- func ParseKeycloakPublicKey(data []byte) (*rsa.PublicKey, error)
- func ToHexInt(n *big.Int) string
Constants ¶
View Source
const ( CertPEMBlockType = "CERTIFICATE" KeyPEMBlockType = "RSA PRIVATE KEY" )
View Source
const ( PublicKeyHeader = "-----BEGIN PUBLIC KEY-----" )
View Source
const (
LamassuLoggerContextKey contextKey = "LamassuLogger"
)
Variables ¶
This section is empty.
Functions ¶
func GenerateCSR ¶
func GenerateCSR(csr *x509.CertificateRequest, key interface{}) (*x509.CertificateRequest, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.