pub fn octet_key(&self) -> Result<&[u8], Error> {
        match *self {
            AlgorithmParameters::OctetKey(ref oct) => Ok(oct.value.as_slice()),
            _ => Err(unexpected_key_type_error!(KeyType::Octet, self.key_type())),
        }
    }
/// Return the byte sequence of an octet key
Return the byte sequence of an octet key
Return the byte sequence of an octet key
pub fn octet_key(&self) -> Result<&[u8], Error> {
        match *self {
            AlgorithmParameters::OctetKey(ref oct) => Ok(oct.value.as_slice()),
            _ => Err(unexpected_key_type_error!(KeyType::Octet, self.key_type())),
        }
    }
pub fn octet_key ( & self ) -> Result < & [ u8 ] , Error > { match * self { AlgorithmParameters :: OctetKey ( ref oct ) => Ok ( oct . value . as_slice ( ) ) , _ => Err ( unexpected_key_type_error ! ( KeyType Octet self key_type ( ) ) ) , } }
Return the byte sequence of an octet key
Return the byte sequence of an octet key
&self
&self