identity_verification/verification_method/
method_relationship.rs

1// Copyright 2020-2023 IOTA Stiftung
2// SPDX-License-Identifier: Apache-2.0
3
4/// Verification relationships.
5///
6/// See also: <https://www.w3.org/TR/did-core/#verification-relationships>.
7#[derive(Clone, Copy, Debug, Hash, PartialEq, Eq, PartialOrd, Ord, Deserialize, Serialize, strum::IntoStaticStr)]
8pub enum MethodRelationship {
9  /// The authentication verification relationship.
10  Authentication,
11  /// The assertion method verification relationship.
12  AssertionMethod,
13  /// The key agreement verification relationship.
14  KeyAgreement,
15  /// The capability delegation verification relationship.
16  CapabilityDelegation,
17  /// The capability invocation verification relationship.
18  CapabilityInvocation,
19}