/** * Cryptographic algorithm constants */ export declare const CRYPTO: { readonly SIGNATURE_ALGORITHM: "Ed25519"; readonly SIGNATURE_ALG_NAME: "EdDSA"; readonly ENCRYPTION_ALGORITHM: "aes-256-gcm"; readonly KEY_DERIVATION: "pbkdf2"; readonly KDF_HASH: "sha256"; readonly ED25519_PUBLIC_KEY_LENGTH: 32; readonly ED25519_PRIVATE_KEY_LENGTH: 32; readonly ED25519_SIGNATURE_LENGTH: 64; readonly AES_KEY_LENGTH: 32; readonly IV_LENGTH: 16; readonly AUTH_TAG_LENGTH: 16; readonly SALT_LENGTH: 32; readonly KDF_ITERATIONS: 600000; }; /** * DID constants */ export declare const DID: { readonly METHOD: "did:key:"; readonly MULTIBASE_PREFIX: "z"; readonly ED25519_MULTICODEC: Uint8Array; }; /** * Verifiable Credential constants * Using W3C VC Data Model 2.0 */ export declare const VC: { readonly CONTEXT: readonly ["https://www.w3.org/ns/credentials/v2"]; readonly BASE_TYPE: "VerifiableCredential"; readonly OWNERSHIP_TYPE: "AgentOwnershipCredential"; readonly CAPABILITY_TYPE: "AgentCapabilityCredential"; readonly JWT_TYPE: "JWT"; }; /** * Security policy constants */ export declare const SECURITY: { readonly MIN_PASSPHRASE_LENGTH: 16; readonly MIN_PASSPHRASE_ENTROPY: 40; readonly DEFAULT_AUTH_EXPIRY: 120; readonly MAX_DID_LENGTH: 200; }; /** * File and storage constants */ export declare const STORAGE: { readonly DEFAULT_DIR_NAME: ".agent-did"; readonly INDEX_FILE: "identities.json"; readonly KEYS_DIR: "keys"; readonly CREDENTIALS_DIR: "credentials"; readonly FILE_PERMISSIONS: 384; readonly TEMP_FILE_SUFFIX: ".tmp"; }; /** * Version constants */ export declare const VERSION: { readonly KEY_VERSION: 1; readonly KEYSTORE_VERSION: 1; }; //# sourceMappingURL=constants.d.ts.map