This moves x509Signer from cmd/ceremony into pkcs11helpers. It also adds helper functions getPublicKeyID and getPrivateKey, copied and adapted from pkcs11key. These act as counterparts to the existing GetRSAPublicKey and GetECDSAPublicKey, which go from an object handle to a Go public key object (and are used after key generation). Fixes #4918 |
||
|---|---|---|
| .. | ||
| helpers.go | ||
| helpers_test.go | ||