pub trait DIDCommitment: Commitment {
// Required methods
fn did(&self) -> &str;
fn did_document(&self) -> &Document;
fn as_any(&self) -> &dyn Any;
// Provided methods
fn candidate_keys(&self) -> Option<Vec<JWK>> { ... }
fn candidate_endpoints(&self) -> Option<Vec<ServiceEndpoint>> { ... }
}
Required Methods§
Provided Methods§
Sourcefn candidate_keys(&self) -> Option<Vec<JWK>>
fn candidate_keys(&self) -> Option<Vec<JWK>>
Gets the keys in the candidate data.
Sourcefn candidate_endpoints(&self) -> Option<Vec<ServiceEndpoint>>
fn candidate_endpoints(&self) -> Option<Vec<ServiceEndpoint>>
Gets the endpoints in the candidate data.