solana_streamer::tls_certificates

Function new_dummy_x509_certificate

Source
pub fn new_dummy_x509_certificate(
    keypair: &Keypair,
) -> (CertificateDer<'static>, PrivateKeyDer<'static>)