From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/fr/web/api/cryptokey/index.html | 109 ++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 files/fr/web/api/cryptokey/index.html (limited to 'files/fr/web/api/cryptokey/index.html') diff --git a/files/fr/web/api/cryptokey/index.html b/files/fr/web/api/cryptokey/index.html new file mode 100644 index 0000000000..ecd13034a6 --- /dev/null +++ b/files/fr/web/api/cryptokey/index.html @@ -0,0 +1,109 @@ +--- +title: CryptoKey +slug: Web/API/CryptoKey +tags: + - API + - Interface + - Reference + - Web Crypto API +translation_of: Web/API/CryptoKey +--- +

{{APIRef("Web Crypto API")}}

+ +

L'interface CryptoKey représente une {{glossary("clef")}} cryptographique dérivé d'un algorithme de clef spécifique.

+ +

Un objet CryptoKey peut être obtenu en utilisant : {{domxref("SubtleCrypto.generateKey()")}}, {{domxref("SubtleCrypto.deriveKey()")}} ou {{domxref("SubtleCrypto.importKey()")}}

+ +

Propriétés

+ +

Cette interface n'hérite d'aucune propriété.

+ +
+
{{domxref("CryptoKey.type")}}
+
Retourne  une énumération de valeurs représentant un type de clef, une clef secrète (pour un algorithme symétriques), une clef publique ou privée (pour un algorithme asymétrique)
+
{{domxref("CryptoKey.extractable")}}
+
Retourne un {{jsxref("booléen")}} indiquant si l'information peut être extraite de l'application ou non.
+
{{domxref("CryptoKey.algorithm")}}
+
Retourne un objet opaque représentant  un chiffre particulier avec lequel la clé doit être utilisée avec.
+
{{domxref("CryptoKey.usages")}}
+
Retourne un tableau contenant une énumération de valeurs indiquant quel est la clé qui peut être utilisée.
+
+ +

Méthodes

+ +

Cette interface n'hérite et n'implémente aucune méthode.

+ +

Spécifications

+ + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{ SpecName('Web Crypto API', '#dfn-CryptoKey', 'CryptoKey') }}{{ Spec2('Web Crypto API') }}Définition initiale.
+ +

Compatibilité navigateur

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FonctionnalitéChromeFirefox (Gecko)Internet ExplorerOperaSafari
Support basique{{ CompatChrome(37) }}{{ CompatGeckoDesktop(34) }}{{ CompatNo() }}{{ CompatUnknown() }}{{ CompatNo }}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
FonctionnalitéAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Support Basique37{{ CompatChrome(37) }}{{ CompatGeckoMobile(34) }}{{ CompatNo }}{{ CompatUnknown() }}{{ CompatNo }}
+
+ +

Voir aussi

+ + -- cgit v1.2.3-54-g00ecf