pub fn authentication_using_x509<S, T>(
        mut self,
        primary_thumbprint: S,
        secondary_thumbprint: T,
    ) -> Self
    where
        S: Into<String>,
        T: Into<String>,
    {
        self.authentication = Some(AuthenticationMechanism {
            authentication_type: AuthenticationType::SelfSigned,
            x509_thumbprint: X509ThumbPrint {
                primary_thumbprint: Some(primary_thumbprint.into()),
                secondary_thumbprint: Some(secondary_thumbprint.into()),
            },
            symmetric_key: SymmetricKey::default(),
        });

        self
    }
/// Set authentication to x509 on the device
Set authentication to x509 on the device
Set authentication to x509 on the device
pub fn authentication_using_x509<S, T>(
        mut self,
        primary_thumbprint: S,
        secondary_thumbprint: T,
    ) -> Self
    where
        S: Into<String>,
        T: Into<String>,
    {
        self.authentication = Some(AuthenticationMechanism {
            authentication_type: AuthenticationType::SelfSigned,
            x509_thumbprint: X509ThumbPrint {
                primary_thumbprint: Some(primary_thumbprint.into()),
                secondary_thumbprint: Some(secondary_thumbprint.into()),
            },
            symmetric_key: SymmetricKey::default(),
        });
        self
    }
pub fn authentication_using_x509 < S , T > ( mut self , primary_thumbprint : S , secondary_thumbprint : T , ) -> Self where S : Into < String > , T : Into < String > , { self . authentication = Some ( AuthenticationMechanism { authentication_type : AuthenticationType :: SelfSigned , x509_thumbprint : X509ThumbPrint { primary_thumbprint : Some ( primary_thumbprint . into ( ) ) , secondary_thumbprint : Some ( secondary_thumbprint . into ( ) ) , } , symmetric_key : SymmetricKey :: default ( ) , } ) ; self }
Set authentication to x509 on the device
Set authentication to x509 on the device
mut self
primary_thumbprint
S
secondary_thumbprint
T