public class PowerAuthServerVault extends Object
| Constructor and Description |
|---|
PowerAuthServerVault() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encryptVaultEncryptionKey(PrivateKey serverPrivateKey,
PublicKey devicePublicKey,
long ctr)
Return encrypted vault encryption key KEY_ENCRYPTION_VAULT using
a correct KEY_ENCRYPTION_VAULT_TRANSPORT.
|
public byte[] encryptVaultEncryptionKey(PrivateKey serverPrivateKey, PublicKey devicePublicKey, long ctr) throws InvalidKeyException
serverPrivateKey - Server private key KEY_SERVER_PRIVATEdevicePublicKey - Device public key KEY_DEVICE_PUBLICctr - Counter CTRInvalidKeyException - In case a provided key is incorrect.Copyright © 2016 Lime - HighTech Solutions Inc.. All rights reserved.