destack.sh
docstemplatesblog
Language
  1. Setup
  2. TypeScript
  3. TypeScript++
  4. Runtime
  5. Standard Library
  6. Web
  7. Node
  8. Systems
  9. Modules
  10. destack:crypto
  11. destack:crypto/binding
  12. CryptoKeyPolicy
    1. Members
  13. Configuration
  14. Static Analysis
  15. Dynamic Analysis
  16. Deployment
menu
Language
  1. Setup
  2. TypeScript
  3. TypeScript++
  4. Runtime
  5. Standard Library
  6. Web
  7. Node
  8. Systems
  9. Modules
  10. destack:crypto
  11. destack:crypto/binding
  12. CryptoKeyPolicy
    1. Members
  13. Configuration
  14. Static Analysis
  15. Dynamic Analysis
  16. Deployment
Docs/Language/Standard Library/Modules/destack:crypto/destack:crypto/binding
mdtxt

CryptoKeyPolicy

import { CryptoKeyPolicy } from "destack:crypto/binding";

Key storage and usage policy.

language/library/src/crypto/binding/key.ds:101:110
1export struct CryptoKeyPolicy {2    usage: CryptoKeyUsageFlags;3    label: string;4    isExtractable: boolean;5    residency: CryptoKeyResidency;6}

Members

usage: CryptoKeyUsageFlags

Allowed key operations.

label: string

User-visible key label.

isExtractable: boolean

Whether key material may be exported.

residency: CryptoKeyResidency

Requested key residency.

discordxgithub
2026.8.3alpha