pub fn leaf(&self) -> &TlsPublicKeyCert {
        self.chain
            .get(self.leaf_index())
            .expect("invariant violated: chain is empty")
    }
/// Returns the leaf of the chain.
Returns the leaf of the chain.
Returns the leaf of the chain .
pub fn leaf(&self) -> &TlsPublicKeyCert {
        self.chain
            .get(self.leaf_index())
            .expect("invariant violated: chain is empty")
    }
pub fn leaf ( & self ) -> & TlsPublicKeyCert { self . chain . get ( self . leaf_index ( ) ) . expect ( " " ) }
Returns the leaf of the chain.
Returns the leaf of the chain .
&self
&self