pub fn key_type(&self) -> KeyType {
        match *self {
            AlgorithmParameters::EllipticCurve(_) => KeyType::EllipticCurve,
            AlgorithmParameters::RSA(_) => KeyType::RSA,
            AlgorithmParameters::OctetKey(_) => KeyType::Octet,
            AlgorithmParameters::OctetKeyPair(_) => KeyType::OctetKeyPair,
        }
    }
/// Returns the type of key represented by this set of algorithm parameters
Returns the type of key represented by this set of algorithm parameters
Returns the type of key represented by this set of algorithm parameters
pub fn key_type(&self) -> KeyType {
        match *self {
            AlgorithmParameters::EllipticCurve(_) => KeyType::EllipticCurve,
            AlgorithmParameters::RSA(_) => KeyType::RSA,
            AlgorithmParameters::OctetKey(_) => KeyType::Octet,
            AlgorithmParameters::OctetKeyPair(_) => KeyType::OctetKeyPair,
        }
    }
pub fn key_type ( & self ) -> KeyType { match * self { AlgorithmParameters :: EllipticCurve ( _ ) => KeyType :: EllipticCurve , AlgorithmParameters :: RSA ( _ ) => KeyType :: RSA , AlgorithmParameters :: OctetKey ( _ ) => KeyType :: Octet , AlgorithmParameters :: OctetKeyPair ( _ ) => KeyType :: OctetKeyPair , } }
Returns the type of key represented by this set of algorithm parameters
Returns the type of key represented by this set of algorithm parameters
&self
&self