Lines Matching refs:PrivateKey
25 supportsKey(key crypto.PrivateKey) bool argument
26 signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, error) argument
30 func selectSignatureAlgorithm(version uint16, key crypto.PrivateKey, config *Config, peerSigAlgs []… argument
55 func signMessage(version uint16, key crypto.PrivateKey, config *Config, sigAlg signatureAlgorithm, … argument
103 func (r *rsaPKCS1Signer) supportsKey(key crypto.PrivateKey) bool {
104 _, ok := key.(*rsa.PrivateKey)
108 func (r *rsaPKCS1Signer) signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, er…
109 rsaKey, ok := key.(*rsa.PrivateKey)
143 func (e *ecdsaSigner) supportsKey(key crypto.PrivateKey) bool {
144 ecdsaKey, ok := key.(*ecdsa.PrivateKey)
166 func (e *ecdsaSigner) signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, error…
167 ecdsaKey, ok := key.(*ecdsa.PrivateKey)
220 func (r *rsaPSSSigner) supportsKey(key crypto.PrivateKey) bool {
221 _, ok := key.(*rsa.PrivateKey)
225 func (r *rsaPSSSigner) signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, erro…
226 rsaKey, ok := key.(*rsa.PrivateKey)
249 func (e *ed25519Signer) supportsKey(key crypto.PrivateKey) bool {
250 _, ok := key.(ed25519.PrivateKey)
254 func (e *ed25519Signer) signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, err…
255 privKey, ok := key.(ed25519.PrivateKey)
281 case *rsa.PrivateKey, *rsa.PublicKey:
283 case *ecdsa.PrivateKey, *ecdsa.PublicKey: