64 строки
3.4 KiB
YAML
64 строки
3.4 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.core.cryptography.KeyEncryptionKey"
|
|
fullName: "com.azure.core.cryptography.KeyEncryptionKey"
|
|
name: "KeyEncryptionKey"
|
|
nameWithType: "KeyEncryptionKey"
|
|
summary: "A Key<wbr>Encryption<wbr>Key defines synchronous methods for encrypting and decrypting keys, also known as key wrapping and unwrapping."
|
|
syntax: "public interface **KeyEncryptionKey**"
|
|
methods:
|
|
- uid: "com.azure.core.cryptography.KeyEncryptionKey.getKeyId()"
|
|
fullName: "com.azure.core.cryptography.KeyEncryptionKey.getKeyId()"
|
|
name: "getKeyId()"
|
|
nameWithType: "KeyEncryptionKey.getKeyId()"
|
|
summary: "Retrieves the key identifier."
|
|
modifiers:
|
|
- "abstract"
|
|
syntax: "public abstract String getKeyId()"
|
|
desc: "Retrieves the key identifier."
|
|
returns:
|
|
description: "The key identifier."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.core.cryptography.KeyEncryptionKey.unwrapKey(java.lang.String,byte[])"
|
|
fullName: "com.azure.core.cryptography.KeyEncryptionKey.unwrapKey(String algorithm, byte[] encryptedKey)"
|
|
name: "unwrapKey(String algorithm, byte[] encryptedKey)"
|
|
nameWithType: "KeyEncryptionKey.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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- 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 byte[] unwrapKey(String algorithm, byte[] encryptedKey)"
|
|
desc: "Decrypts the specified encrypted key using the specified algorithm."
|
|
returns:
|
|
description: "The decrypted key bytes."
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
- uid: "com.azure.core.cryptography.KeyEncryptionKey.wrapKey(java.lang.String,byte[])"
|
|
fullName: "com.azure.core.cryptography.KeyEncryptionKey.wrapKey(String algorithm, byte[] key)"
|
|
name: "wrapKey(String algorithm, byte[] key)"
|
|
nameWithType: "KeyEncryptionKey.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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- 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 byte[] wrapKey(String algorithm, byte[] key)"
|
|
desc: "Encrypts the specified key using the specified algorithm."
|
|
returns:
|
|
description: "The encrypted key bytes."
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
type: "interface"
|
|
desc: "A KeyEncryptionKey defines synchronous methods for encrypting and decrypting keys, also known as key wrapping and unwrapping. It also supports signing and verifying data using the configured key."
|
|
metadata: {}
|
|
package: "com.azure.core.cryptography"
|
|
artifact: com.azure:azure-core:1.54.0
|