Trait edcert::validator::Validatable
[−]
[src]
pub trait Validatable { fn self_validate<T: Validator>(
&self,
validator: &T
) -> Result<(), ValidationError>; }
This trait must be implemented for types, which must be validated.
Required Methods
fn self_validate<T: Validator>(
&self,
validator: &T
) -> Result<(), ValidationError>
&self,
validator: &T
) -> Result<(), ValidationError>
This method is given a validator. It can access the master public key indirectly using the
Validator
.
Don't call this method directly, it will be called if you call Validator::is_valid(_).
Implementors
impl Validatable for Certificate