Create a self-signed certificate.
(self)
| 420 | impl CertRequest<'_, KeyPair> { |
| 421 | /// Create a self-signed certificate. |
| 422 | pub fn self_signed(self) -> Result<Certificate> { |
| 423 | let key = self.key; |
| 424 | let cert = self.into_cert_params()?.self_signed(key)?; |
| 425 | Ok(cert) |
| 426 | } |
| 427 | } |
| 428 | |
| 429 | impl<Key: PublicKeyData> CertRequest<'_, Key> { |