Public implements crypto.Signer and returns the public key.
()
| 299 | |
| 300 | // Public implements crypto.Signer and returns the public key. |
| 301 | func (s *kmsSigner) Public() crypto.PublicKey { |
| 302 | return s.PublicKey |
| 303 | } |
| 304 | |
| 305 | // Sign implements crypto.Signer using the `step-kms-plugin`. |
| 306 | func (s *kmsSigner) Sign(_ io.Reader, digest []byte, opts crypto.SignerOpts) (signature []byte, err error) { |
no outgoing calls