pub trait X509IdentityExtractor {
    type Error: IntoAnyError;

    // Required methods
    fn identity(
        &self,
        certificate_chain: &CertificateChain
    ) -> Result<Vec<u8>, Self::Error>;
    fn valid_successor(
        &self,
        predecessor: &CertificateChain,
        successor: &CertificateChain
    ) -> Result<bool, Self::Error>;
}
Expand description

X.509 certificate unique identity trait.

Required Associated Types§

Required Methods§

source

fn identity( &self, certificate_chain: &CertificateChain ) -> Result<Vec<u8>, Self::Error>

Produce a unique identity value to represent the entity controlling a certificate credential within an MLS group.

source

fn valid_successor( &self, predecessor: &CertificateChain, successor: &CertificateChain ) -> Result<bool, Self::Error>

Determine if successor is controlled by the same entity as predecessor.

Implementors§