Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublicKeyEncryptor ¶
func GetPublicKeyEncryptor ¶
func GetPublicKeyEncryptor(contract_ *contract.AcceptedContract) (PublicKeyEncryptor, error)
type RsaOaepEncrypter ¶
type RsaOaepEncrypter struct { PrivateKey *rsa.PrivateKey PublicKey *rsa.PublicKey Hash crypto.Hash Random io.Reader }
type RsaPssSigner ¶
type RsaPssSigner struct { PrivateKey *rsa.PrivateKey PublicKey *rsa.PublicKey Hash crypto.Hash Random io.Reader }
func (*RsaPssSigner) VerifySignature ¶
func (this *RsaPssSigner) VerifySignature(hashedData []byte, signature []byte) error
Click to show internal directories.
Click to hide internal directories.