pub fn can_derive_from(self) -> Result<()> {
        if self.is_derivable() {
            Ok(())
        } else {
            error!("Key attributes do not permit derivation.");
            Err(Error::NotPermitted)
        }
    }
/// Check derive permission of a fallible way
Check derive permission of a fallible way
Check derive permission of a fallible way
pub fn can_derive_from(self) -> Result<()> {
        if self.is_derivable() {
            Ok(())
        } else {
            error!("Key attributes do not permit derivation.");
            Err(Error::NotPermitted)
        }
    }
pub fn can_derive_from ( self ) -> Result < ( ) > { if self . is_derivable ( ) { Ok ( ( ) ) } else { error ! ( " " ) ; Err ( Error :: NotPermitted ) } }
Check derive permission of a fallible way
Check derive permission of a fallible way
self