Interface: Ed25519Signature2020
Properties
LDKeyClass
• LDKeyClass: Object
Type declaration
Name | Type |
---|---|
SUITE_CONTEXT | "https://w3id.org/security/suites/ed25519-2020/v1" |
suite | "Ed25519VerificationKey2020" |
Defined in
packages/klayr-decentralized-identifier/src/types/cryptography.ts:29
_hashCache
• _hashCache: unknown
Defined in
packages/klayr-decentralized-identifier/src/types/cryptography.ts:47
canonizeOptions
• canonizeOptions: unknown
Defined in
packages/klayr-decentralized-identifier/src/types/cryptography.ts:45
contextUrl
• contextUrl: "https://w3id.org/security/suites/ed25519-2020/v1"
Defined in
packages/klayr-decentralized-identifier/src/types/cryptography.ts:33
key
• key: Ed25519KeyPair
Defined in
packages/klayr-decentralized-identifier/src/types/cryptography.ts:36
proof
• proof: unknown
Defined in
packages/klayr-decentralized-identifier/src/types/cryptography.ts:34
requiredKeyType
• requiredKeyType: "Ed25519VerificationKey2020"
Defined in
packages/klayr-decentralized-identifier/src/types/cryptography.ts:28
signer
• signer: Object
Type declaration
Name | Type |
---|---|
id | string |
sign | (__namedParameters : { data : string }) => Promise <Buffer > |
Defined in
packages/klayr-decentralized-identifier/src/types/cryptography.ts:37
type
• type: "Ed25519Signature2020"
Defined in
packages/klayr-decentralized-identifier/src/types/cryptography.ts:27
useNativeCanonize
• useNativeCanonize: unknown
Defined in
packages/klayr-decentralized-identifier/src/types/cryptography.ts:46
verificationMethod
• verificationMethod: string
Defined in
packages/klayr-decentralized-identifier/src/types/cryptography.ts:35
verifier
• verifier: Object
Type declaration
Name | Type |
---|---|
id | string |
verify | (__namedParameters : { data : string ; signature : Buffer }) => Promise <boolean > |
Defined in
packages/klayr-decentralized-identifier/src/types/cryptography.ts:41