Attestor is the interface implemented by step-kms-plugin using the key, sign, and attest commands.
| 45 | // Attestor is the interface implemented by step-kms-plugin using the key, sign, |
| 46 | // and attest commands. |
| 47 | type Attestor interface { |
| 48 | crypto.Signer |
| 49 | Attest() ([]byte, error) |
| 50 | } |
| 51 | |
| 52 | func PublicKey(kmsURI, name string, opts ...pemutil.Options) (crypto.PublicKey, error) { |
| 53 | if isFilename(name) { |
no outgoing calls
no test coverage detected
searching dependent graphs…