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 ¶
func GetRsaPrivateKeyForPkcs1PrivateKeyBytes(prvKeyPkcs1Bytes []byte) (*rsa.PrivateKey, error)
func GetRsaPrivateKeyForPkcs1PrivateKeyBytesWithPassword ¶
func GetRsaPrivateKeyForPkcs1PrivateKeyBytesWithPassword(prvKeyPkcs1BytesEnc []byte, password []byte) (*rsa.PrivateKey, error)
func GetRsaPrivateKeyForPkcs1PrivateKeyPath ¶
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 ¶
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.