Lines Matching refs:PrivateKey
24 supportsKey(key crypto.PrivateKey) bool argument
25 signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, error) argument
29 func selectSignatureAlgorithm(version uint16, key crypto.PrivateKey, config *Config, peerSigAlgs []… argument
54 func signMessage(version uint16, key crypto.PrivateKey, config *Config, sigAlg signatureAlgorithm, … argument
102 func (r *rsaPKCS1Signer) supportsKey(key crypto.PrivateKey) bool {
103 _, ok := key.(*rsa.PrivateKey)
107 func (r *rsaPKCS1Signer) signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, er…
108 rsaKey, ok := key.(*rsa.PrivateKey)
142 func (e *ecdsaSigner) supportsKey(key crypto.PrivateKey) bool {
143 ecdsaKey, ok := key.(*ecdsa.PrivateKey)
165 func (e *ecdsaSigner) signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, error…
166 ecdsaKey, ok := key.(*ecdsa.PrivateKey)
219 func (r *rsaPSSSigner) supportsKey(key crypto.PrivateKey) bool {
220 _, ok := key.(*rsa.PrivateKey)
224 func (r *rsaPSSSigner) signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, erro…
225 rsaKey, ok := key.(*rsa.PrivateKey)
248 func (e *ed25519Signer) supportsKey(key crypto.PrivateKey) bool {
249 _, ok := key.(ed25519.PrivateKey)
253 func (e *ed25519Signer) signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, err…
254 privKey, ok := key.(ed25519.PrivateKey)
280 case *rsa.PrivateKey, *rsa.PublicKey:
282 case *ecdsa.PrivateKey, *ecdsa.PublicKey: