Documentation
¶
Overview ¶
This file has automatically been generated on Wed Feb 26 15:50:23 +05 2020. DO NOT EDIT.
Index ¶
- func DecryptOAEP(hash hash.Hash, random io.Reader, priv *rsa.PrivateKey, ciphertext []byte, ...) ([]byte, error)
- func EncryptOAEP(hash hash.Hash, random io.Reader, pub *rsa.PublicKey, msg []byte, label []byte) ([]byte, error)
- func GenerateKey(random io.Reader, bits int) (*rsa.PrivateKey, error)
- func GenerateMultiPrimeKey(random io.Reader, nprimes int, bits int) (*rsa.PrivateKey, error)
- func PSSOptionsHashFunc(pssOpts *rsa.PSSOptions) crypto.Hash
- func PrivateKeyDecrypt(priv *rsa.PrivateKey, rand io.Reader, ciphertext []byte, ...) ([]byte, error)
- func PrivateKeyPublic(priv *rsa.PrivateKey) crypto.PublicKey
- func PrivateKeySign(priv *rsa.PrivateKey, rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error)
- func PrivateKeyValidate(priv *rsa.PrivateKey) error
- func PublicKeySize(pub *rsa.PublicKey) int
- func SignPSS(rand io.Reader, priv *rsa.PrivateKey, hash crypto.Hash, hashed []byte, ...) ([]byte, error)
- func VerifyPSS(pub *rsa.PublicKey, hash crypto.Hash, hashed []byte, sig []byte, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptOAEP ¶
func EncryptOAEP ¶
func GenerateKey ¶
func GenerateMultiPrimeKey ¶
func PSSOptionsHashFunc ¶
func PSSOptionsHashFunc(pssOpts *rsa.PSSOptions) crypto.Hash
func PrivateKeyDecrypt ¶
func PrivateKeyDecrypt(priv *rsa.PrivateKey, rand io.Reader, ciphertext []byte, opts crypto.DecrypterOpts) ([]byte, error)
func PrivateKeyPublic ¶
func PrivateKeyPublic(priv *rsa.PrivateKey) crypto.PublicKey
func PrivateKeySign ¶
func PrivateKeySign(priv *rsa.PrivateKey, rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error)
func PrivateKeyValidate ¶
func PrivateKeyValidate(priv *rsa.PrivateKey) error
func PublicKeySize ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.