'use strict';

const DockDIDMethod = 'dock';
const CheqdDIDMethod = 'cheqd';
const Secp256k1PublicKeyPrefix = 'zQ3s';
const Ed25519PublicKeyPrefix = 'z6Mk';
const BBS23PublicKeyPrefix = 'zVMC';
const BBSPlusPublicKeyPrefix = 'zVTu';

const DockDIDQualifier = `did:${DockDIDMethod}:`;
const DockDIDByteSize = 32;

const CheqdDIDQualifier = `did:${CheqdDIDMethod}:`;
const CheqdDIDTestnetQualifier = `${CheqdDIDQualifier}testnet:`;
const CheqdDIDMainnetQualifier = `${CheqdDIDQualifier}mainnet:`;
const CheqdDIDByteSize = 16;

const DidMethodKeyQualifier = 'did:key:';
const DidMethodKeySecp256k1ByteSize = 33;
const DidMethodKeyEd25519ByteSize = 32;
const DidMethodKeyBBS23ByteSize = 96;
const DidMethodKeyBBSPlusByteSize = 96;

const DidMethodKeySecp256k1Prefix = `${DidMethodKeyQualifier}${Secp256k1PublicKeyPrefix}`;
const DidMethodKeyEd25519Prefix = `${DidMethodKeyQualifier}${Ed25519PublicKeyPrefix}`;
const DidMethodKeyBBS23Prefix = `${DidMethodKeyQualifier}${BBS23PublicKeyPrefix}`;
const DidMethodKeyBBSPlusPrefix = `${DidMethodKeyQualifier}${BBSPlusPublicKeyPrefix}`;

const DidMethodKeyBytePrefixEd25519 = new Uint8Array([0xed, 0x01]);
const DidMethodKeyBytePrefixSecp256k1 = new Uint8Array([0xe7, 0x01]);
const DidMethodKeyBytePrefixBBS23 = new Uint8Array([0xf5, 0x01]);
const DidMethodKeyBytePrefixBBSPlus = new Uint8Array([0xf6, 0x01]);

exports.BBS23PublicKeyPrefix = BBS23PublicKeyPrefix;
exports.BBSPlusPublicKeyPrefix = BBSPlusPublicKeyPrefix;
exports.CheqdDIDByteSize = CheqdDIDByteSize;
exports.CheqdDIDMainnetQualifier = CheqdDIDMainnetQualifier;
exports.CheqdDIDMethod = CheqdDIDMethod;
exports.CheqdDIDQualifier = CheqdDIDQualifier;
exports.CheqdDIDTestnetQualifier = CheqdDIDTestnetQualifier;
exports.DidMethodKeyBBS23ByteSize = DidMethodKeyBBS23ByteSize;
exports.DidMethodKeyBBS23Prefix = DidMethodKeyBBS23Prefix;
exports.DidMethodKeyBBSPlusByteSize = DidMethodKeyBBSPlusByteSize;
exports.DidMethodKeyBBSPlusPrefix = DidMethodKeyBBSPlusPrefix;
exports.DidMethodKeyBytePrefixBBS23 = DidMethodKeyBytePrefixBBS23;
exports.DidMethodKeyBytePrefixBBSPlus = DidMethodKeyBytePrefixBBSPlus;
exports.DidMethodKeyBytePrefixEd25519 = DidMethodKeyBytePrefixEd25519;
exports.DidMethodKeyBytePrefixSecp256k1 = DidMethodKeyBytePrefixSecp256k1;
exports.DidMethodKeyEd25519ByteSize = DidMethodKeyEd25519ByteSize;
exports.DidMethodKeyEd25519Prefix = DidMethodKeyEd25519Prefix;
exports.DidMethodKeyQualifier = DidMethodKeyQualifier;
exports.DidMethodKeySecp256k1ByteSize = DidMethodKeySecp256k1ByteSize;
exports.DidMethodKeySecp256k1Prefix = DidMethodKeySecp256k1Prefix;
exports.DockDIDByteSize = DockDIDByteSize;
exports.DockDIDMethod = DockDIDMethod;
exports.DockDIDQualifier = DockDIDQualifier;
exports.Ed25519PublicKeyPrefix = Ed25519PublicKeyPrefix;
exports.Secp256k1PublicKeyPrefix = Secp256k1PublicKeyPrefix;
//# sourceMappingURL=constants.cjs.map
