Package web5.sdk.dids.didcore
Enum Purpose
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable,web5.sdk.dids.didcore.VMSelector
public enum Purpose extends Enum<Purpose> implements VMSelector
Enum representing the purpose of a public key.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPurpose.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description AssertionMethodAuthenticationCapabilityDelegationCapabilityInvocationKeyAgreement
-
Method Summary
Modifier and Type Method Description final PurposevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<Purpose>values()Returns an array containing the constants of this enum type, in the order they're declared. final StringgetValue()final EnumEntries<Purpose>getEntries()Enum representing the purpose of a public key. -
-
Method Detail
-
valueOf
final Purpose valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<Purpose> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<Purpose> getEntries()
Enum representing the purpose of a public key.
-
-
-
-