Documentation ¶
Index ¶
- func GetRSAPrivateKeyForPKCS1PrivateKeyBytes(prvKeyPkcs1Bytes []byte) (*rsa.PrivateKey, error)
- func GetRSAPrivateKeyForPKCS1PrivateKeyBytesWithPassword(prvKeyPkcs1BytesEnc []byte, password []byte) (*rsa.PrivateKey, error)
- func GetRSAPrivateKeyForPKCS1PrivateKeyPath(prvKeyPKCS1Path string) (*rsa.PrivateKey, error)
- func GetRSAPrivateKeyForPKCS1PrivateKeyPathWithPassword(prvKeyPKCS1Path string, password []byte) (*rsa.PrivateKey, error)
- func GetRSAPublicKeyForPKCS8PublicKeyPath(pubKeyPkcs8Path string) (*rsa.PublicKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRSAPrivateKeyForPKCS1PrivateKeyBytes ¶ added in v0.47.0
func GetRSAPrivateKeyForPKCS1PrivateKeyBytes(prvKeyPkcs1Bytes []byte) (*rsa.PrivateKey, error)
func GetRSAPrivateKeyForPKCS1PrivateKeyBytesWithPassword ¶ added in v0.47.0
func GetRSAPrivateKeyForPKCS1PrivateKeyBytesWithPassword(prvKeyPkcs1BytesEnc []byte, password []byte) (*rsa.PrivateKey, error)
func GetRSAPrivateKeyForPKCS1PrivateKeyPath ¶ added in v0.47.0
func GetRSAPrivateKeyForPKCS1PrivateKeyPath(prvKeyPKCS1Path string) (*rsa.PrivateKey, error)
GetRsaPrivateKeyForPkcs1PrivateKeyPath returns a *rsa.PrivateKey for a given PKCS#1 private key file path without a password
func GetRSAPrivateKeyForPKCS1PrivateKeyPathWithPassword ¶ added in v0.47.0
func GetRSAPrivateKeyForPKCS1PrivateKeyPathWithPassword(prvKeyPKCS1Path string, password []byte) (*rsa.PrivateKey, error)
GetRSAPrivateKeyForPKCS1PrivateKeyPathWithPassword returns a *rsa.PrivateKey for a given PKCS#1 private key file path and password
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.