IntermediateKey returns the CA's intermediate private key.
()
| 207 | |
| 208 | // IntermediateKey returns the CA's intermediate private key. |
| 209 | func (ca CA) IntermediateKey() crypto.Signer { |
| 210 | ca.mu.RLock() |
| 211 | defer ca.mu.RUnlock() |
| 212 | return ca.interKey |
| 213 | } |
| 214 | |
| 215 | // NewAuthority returns a new Smallstep-powered signing authority for this CA. |
| 216 | // Note that we receive *CA (a pointer) in this method to ensure the closure within it, which |