azure-docs-sdk-java/docs-ref-autogen/com.azure.core.cryptography...

64 строки
4.1 KiB
YAML
Исходник Обычный вид История

### YamlMime:JavaType
uid: "com.azure.core.cryptography.AsyncKeyEncryptionKey"
fullName: "com.azure.core.cryptography.AsyncKeyEncryptionKey"
name: "AsyncKeyEncryptionKey"
nameWithType: "AsyncKeyEncryptionKey"
summary: "A key which is used to asynchronously encrypt, or wrap, another key."
syntax: "public interface AsyncKeyEncryptionKey"
methods:
- uid: "com.azure.core.cryptography.AsyncKeyEncryptionKey.getKeyId()"
fullName: "com.azure.core.cryptography.AsyncKeyEncryptionKey.getKeyId()"
name: "getKeyId()"
nameWithType: "AsyncKeyEncryptionKey.getKeyId()"
summary: "Retrieves the key identifier."
modifiers:
- "abstract"
syntax: "public abstract Mono<String> getKeyId()"
desc: "Retrieves the key identifier."
returns:
description: "A <xref uid=\"reactor.core.publisher.Mono\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Mono\"></xref> containing key identifier."
type: "<xref href=\"reactor.core.publisher.Mono?alt=reactor.core.publisher.Mono&text=Mono\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.core.cryptography.AsyncKeyEncryptionKey.unwrapKey(java.lang.String,byte[])"
fullName: "com.azure.core.cryptography.AsyncKeyEncryptionKey.unwrapKey(String algorithm, byte[] encryptedKey)"
name: "unwrapKey(String algorithm, byte[] encryptedKey)"
nameWithType: "AsyncKeyEncryptionKey.unwrapKey(String algorithm, byte[] encryptedKey)"
summary: "Decrypts the specified encrypted key using the specified algorithm."
modifiers:
- "abstract"
parameters:
- description: "The key wrap algorithm which was used to encrypt the specified encrypted key."
name: "algorithm"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "The encrypted key content to be decrypted."
name: "encryptedKey"
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
syntax: "public abstract Mono<byte[]> unwrapKey(String algorithm, byte[] encryptedKey)"
desc: "Decrypts the specified encrypted key using the specified algorithm."
returns:
description: "A <xref uid=\"reactor.core.publisher.Mono\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Mono\"></xref> containing the decrypted key bytes."
type: "<xref href=\"reactor.core.publisher.Mono?alt=reactor.core.publisher.Mono&text=Mono\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]&gt;"
- uid: "com.azure.core.cryptography.AsyncKeyEncryptionKey.wrapKey(java.lang.String,byte[])"
fullName: "com.azure.core.cryptography.AsyncKeyEncryptionKey.wrapKey(String algorithm, byte[] key)"
name: "wrapKey(String algorithm, byte[] key)"
nameWithType: "AsyncKeyEncryptionKey.wrapKey(String algorithm, byte[] key)"
summary: "Encrypts the specified key using the specified algorithm."
modifiers:
- "abstract"
parameters:
- description: "The key wrap algorithm used to encrypt the specified key."
name: "algorithm"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "The key content to be encrypted."
name: "key"
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
syntax: "public abstract Mono<byte[]> wrapKey(String algorithm, byte[] key)"
desc: "Encrypts the specified key using the specified algorithm."
returns:
description: "A <xref uid=\"reactor.core.publisher.Mono\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Mono\"></xref> containing the encrypted key bytes."
type: "<xref href=\"reactor.core.publisher.Mono?alt=reactor.core.publisher.Mono&text=Mono\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]&gt;"
type: "interface"
desc: "A key which is used to asynchronously encrypt, or wrap, another key."
metadata: {}
package: "com.azure.core.cryptography"
artifact: com.azure:azure-core:1.32.0