Lines Matching refs:rsaPKCS1Signer
84 type rsaPKCS1Signer struct { struct
88 func (r *rsaPKCS1Signer) computeHash(msg []byte) []byte { argument
103 func (r *rsaPKCS1Signer) supportsKey(key crypto.PrivateKey) bool { argument
108 func (r *rsaPKCS1Signer) signMessage(key crypto.PrivateKey, config *Config, msg []byte) ([]byte, er… argument
117 func (r *rsaPKCS1Signer) verifyMessage(key crypto.PublicKey, msg, sig []byte) error { argument
282 return &rsaPKCS1Signer{crypto.MD5SHA1}, nil
297 return &rsaPKCS1Signer{crypto.MD5}, nil
301 return &rsaPKCS1Signer{crypto.SHA1}, nil
305 return &rsaPKCS1Signer{crypto.SHA256}, nil
309 return &rsaPKCS1Signer{crypto.SHA384}, nil
313 return &rsaPKCS1Signer{crypto.SHA512}, nil