public class KmipUtils extends Object
| Constructor and Description |
|---|
KmipUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
bytesFromKeyBlock(KeyBlock keyBlock)
Extract the key bytes from a
KeyBlock for those made of byte arrays |
static byte[] |
nonceFromKeyWrappingData(KeyWrappingData keyWrappingData)
Extract the nonce/iv/counter bytes from a
KeyWrappingData for those made of byte arrays |
public static byte[] bytesFromKeyBlock(KeyBlock keyBlock) throws CloudproofException
KeyBlock for those made of byte arrayskeyBlock - the KeyBlockCloudproofException - if the KeyBlock is malformed the bytes cannot be foundpublic static byte[] nonceFromKeyWrappingData(KeyWrappingData keyWrappingData) throws CloudproofException
KeyWrappingData for those made of byte arrayskeyWrappingData - the KeyWrappingDataCloudproofException - if no Noce is availableCopyright © 2023. All rights reserved.