Namespace: constant
utils.constant
Variables
DID_CONTEXT_URL
• Const
DID_CONTEXT_URL: "https://www.w3.org/ns/did/v1"
Defined in
packages/klayr-decentralized-identifier/src/utils/constant/did.ts:10
ED25519_VERIFICATION_KEY_2020_CONTEXT
• Const
ED25519_VERIFICATION_KEY_2020_CONTEXT: string
= Ed25519VerificationKey2020.SUITE_CONTEXT
Defined in
packages/klayr-decentralized-identifier/src/utils/constant/cryptography.ts:11
ED25519_VERIFICATION_KEY_2020_TYPE
• Const
ED25519_VERIFICATION_KEY_2020_TYPE: "Ed25519VerificationKey2020"
Defined in
packages/klayr-decentralized-identifier/src/utils/constant/cryptography.ts:8
KLAYR_DID_METHOD_NAME
• Const
KLAYR_DID_METHOD_NAME: "klayr"
Defined in
packages/klayr-decentralized-identifier/src/utils/constant/did.ts:8
KLAYR_DID_PREFIX
• Const
KLAYR_DID_PREFIX: string
Defined in
packages/klayr-decentralized-identifier/src/utils/constant/did.ts:9
KLAYR_PRIVATE_KEY_LENGTH
• Const
KLAYR_PRIVATE_KEY_LENGTH: 64
Defined in
packages/klayr-decentralized-identifier/src/utils/constant/did.ts:3
KLAYR_PUBLIC_KEY_LENGTH
• Const
KLAYR_PUBLIC_KEY_LENGTH: 32
Defined in
packages/klayr-decentralized-identifier/src/utils/constant/did.ts:1
MULTIBASE_BASE58BTC_HEADER
• Const
MULTIBASE_BASE58BTC_HEADER: "z"
Defined in
packages/klayr-decentralized-identifier/src/utils/constant/did.ts:7
MULTIBASE_PRIVATE_KEY_LENGTH
• Const
MULTIBASE_PRIVATE_KEY_LENGTH: 91
Defined in
packages/klayr-decentralized-identifier/src/utils/constant/did.ts:4
MULTIBASE_PUBLIC_KEY_LENGTH
• Const
MULTIBASE_PUBLIC_KEY_LENGTH: 48
Defined in
packages/klayr-decentralized-identifier/src/utils/constant/did.ts:2
MULTICODEC_ED25519_PRIV_HEADER
• Const
MULTICODEC_ED25519_PRIV_HEADER: Uint8Array
Defined in
packages/klayr-decentralized-identifier/src/utils/constant/did.ts:6
MULTICODEC_ED25519_PUB_HEADER
• Const
MULTICODEC_ED25519_PUB_HEADER: Uint8Array
Defined in
packages/klayr-decentralized-identifier/src/utils/constant/did.ts:5
SIGNATURE_BYTES_LENGTH
• Const
SIGNATURE_BYTES_LENGTH: 64
Defined in
packages/klayr-decentralized-identifier/src/utils/constant/cryptography.ts:5
SUPPORTED_RELATIONSHIP
• Const
SUPPORTED_RELATIONSHIP: VerificationRelationship
[]
Defined in
packages/klayr-decentralized-identifier/src/utils/constant/cryptography.ts:13
X25519_KEY_AGREEMENT_KEY_2020_CONTEXT
• Const
X25519_KEY_AGREEMENT_KEY_2020_CONTEXT: any
= X25519KeyAgreementKey2020.SUITE_CONTEXT
Defined in
packages/klayr-decentralized-identifier/src/utils/constant/cryptography.ts:10
X25519_KEY_AGREEMENT_KEY_2020_TYPE
• Const
X25519_KEY_AGREEMENT_KEY_2020_TYPE: "X25519KeyAgreementKey2020"
Defined in
packages/klayr-decentralized-identifier/src/utils/constant/cryptography.ts:7