@nextcloud/dialogs
    Preparing search index...

    Interface CryptoKey

    The CryptoKey interface of the Web Crypto API represents a cryptographic key obtained from one of the SubtleCrypto methods SubtleCrypto.generateKey, SubtleCrypto.deriveKey, SubtleCrypto.importKey, or SubtleCrypto.unwrapKey. Available only in secure contexts.

    MDN Reference

    interface CryptoKey {
        algorithm: KeyAlgorithm;
        extractable: boolean;
        type: KeyType;
        usages: KeyUsage[];
    }
    Index

    Properties

    algorithm: KeyAlgorithm

    The read-only algorithm property of the CryptoKey interface returns an object describing the algorithm for which this key can be used, and any associated extra parameters.

    MDN Reference

    extractable: boolean

    The read-only extractable property of the CryptoKey interface indicates whether or not the key may be extracted using SubtleCrypto.exportKey() or SubtleCrypto.wrapKey().

    MDN Reference

    type: KeyType

    The read-only type property of the CryptoKey interface indicates which kind of key is represented by the object.

    MDN Reference

    usages: KeyUsage[]

    The read-only usages property of the CryptoKey interface indicates what can be done with the key.

    MDN Reference