public class PowerAuthServiceClient.PowerAuthServiceClientV2 extends Object
| Constructor and Description |
|---|
PowerAuthServiceClientV2() |
| Modifier and Type | Method and Description |
|---|---|
CreateActivationResponse |
createActivation(CreateActivationRequest request)
Create a new activation directly, using the createActivation method of the PowerAuth 2.0 Server
SOAP interface.
|
CreateActivationResponse |
createActivation(String applicationKey,
String userId,
Long maxFailureCount,
Date timestampActivationExpire,
String identity,
String activationOtp,
String activationName,
String activationNonce,
String ephemeralPublicKey,
String cDevicePublicKey,
String extras,
String applicationSignature)
Call the createActivation method of the PowerAuth 2.0 Server SOAP interface.
|
CreateActivationResponse |
createActivation(String applicationKey,
String userId,
String identity,
String activationName,
String activationNonce,
String ephemeralPublicKey,
String cDevicePublicKey,
String extras,
String applicationSignature)
Call the createActivation method of the PowerAuth 2.0 Server SOAP interface.
|
CreateTokenResponse |
createToken(CreateTokenRequest request)
Create a new token for basic token-based authentication.
|
CreateTokenResponse |
createToken(String activationId,
String ephemeralPublicKey,
SignatureType signatureType)
Create a new token for basic token-based authentication.
|
GetNonPersonalizedEncryptionKeyResponse |
generateNonPersonalizedE2EEncryptionKey(GetNonPersonalizedEncryptionKeyRequest request)
Call the generateNonPersonalizedE2EEncryptionKey method of the PowerAuth 2.0 Server SOAP interface.
|
GetNonPersonalizedEncryptionKeyResponse |
generateNonPersonalizedE2EEncryptionKey(String applicationKey,
String ephemeralPublicKeyBase64,
String sessionIndex)
Call the generateNonPersonalizedE2EEncryptionKey method of the PowerAuth 2.0 Server SOAP interface and get
newly generated derived encryption key.
|
GetPersonalizedEncryptionKeyResponse |
generatePersonalizedE2EEncryptionKey(GetPersonalizedEncryptionKeyRequest request)
Call the generatePersonalizedE2EEncryptionKey method of the PowerAuth 2.0 Server SOAP interface.
|
GetPersonalizedEncryptionKeyResponse |
generatePersonalizedE2EEncryptionKey(String activationId,
String sessionIndex)
Call the generatePersonalizedE2EEncryptionKey method of the PowerAuth 2.0 Server SOAP interface and get
newly generated derived encryption key.
|
PrepareActivationResponse |
prepareActivation(PrepareActivationRequest request)
Call the prepareActivation method of the PowerAuth 3.0 Server SOAP interface.
|
PrepareActivationResponse |
prepareActivation(String activationIdShort,
String activationName,
String activationNonce,
String ephemeralPublicKey,
String cDevicePublicKey,
String extras,
String applicationKey,
String applicationSignature)
Call the prepareActivation method of the PowerAuth 2.0 Server SOAP interface.
|
VaultUnlockResponse |
unlockVault(String activationId,
String applicationKey,
String data,
String signature,
SignatureType signatureType,
String reason)
Call the vaultUnlock method of the PowerAuth 2.0 Server SOAP interface.
|
VaultUnlockResponse |
unlockVault(VaultUnlockRequest request)
Call the vaultUnlock method of the PowerAuth 2.0 Server SOAP interface.
|
public PrepareActivationResponse prepareActivation(PrepareActivationRequest request)
request - PrepareActivationRequest instancePrepareActivationResponsepublic PrepareActivationResponse prepareActivation(String activationIdShort, String activationName, String activationNonce, String ephemeralPublicKey, String cDevicePublicKey, String extras, String applicationKey, String applicationSignature)
activationIdShort - Short activation ID.activationName - Name of this activation.activationNonce - Activation nonce.applicationKey - Application key of a given application.applicationSignature - Signature proving a correct application is sending the data.cDevicePublicKey - Device public key encrypted with activation OTP.extras - Additional, application specific information.PrepareActivationResponsepublic CreateActivationResponse createActivation(CreateActivationRequest request)
request - Create activation request.public CreateActivationResponse createActivation(String applicationKey, String userId, String identity, String activationName, String activationNonce, String ephemeralPublicKey, String cDevicePublicKey, String extras, String applicationSignature)
userId - User ID.applicationKey - Application key of a given application.identity - Identity fingerprint used during activation.activationName - Name of this activation.activationNonce - Activation nonce.applicationSignature - Signature proving a correct application is sending the data.cDevicePublicKey - Device public key encrypted with activation OTP.ephemeralPublicKey - Ephemeral public key used for one-time object transfer.extras - Additional, application specific information.CreateActivationResponsepublic CreateActivationResponse createActivation(String applicationKey, String userId, Long maxFailureCount, Date timestampActivationExpire, String identity, String activationOtp, String activationName, String activationNonce, String ephemeralPublicKey, String cDevicePublicKey, String extras, String applicationSignature)
userId - User ID.maxFailureCount - Maximum failure count.timestampActivationExpire - Timestamp this activation should expire.applicationKey - Application key of a given application.identity - Identity fingerprint used during activation.activationOtp - Activation OTP.activationName - Name of this activation.activationNonce - Activation nonce.applicationSignature - Signature proving a correct application is sending the data.cDevicePublicKey - Device public key encrypted with activation OTP.ephemeralPublicKey - Ephemeral public key.extras - Additional, application specific information.CreateActivationResponsepublic VaultUnlockResponse unlockVault(VaultUnlockRequest request)
request - VaultUnlockRequest instanceVaultUnlockResponsepublic VaultUnlockResponse unlockVault(String activationId, String applicationKey, String data, String signature, SignatureType signatureType, String reason)
activationId - Activation Id of an activation to be used for authentication.applicationKey - Application Key of an application related to the activation.data - Data to be signed encoded in format as specified by PowerAuth 2.0 data normalization.signature - Vault opening request signature.signatureType - Vault opening request signature type.reason - Reason why vault is being unlocked.VaultUnlockResponsepublic GetPersonalizedEncryptionKeyResponse generatePersonalizedE2EEncryptionKey(GetPersonalizedEncryptionKeyRequest request)
request - GetPersonalizedEncryptionKeyRequest instance.GetPersonalizedEncryptionKeyResponsepublic GetPersonalizedEncryptionKeyResponse generatePersonalizedE2EEncryptionKey(String activationId, String sessionIndex)
activationId - Activation ID used for the key generation.GetPersonalizedEncryptionKeyResponsepublic GetNonPersonalizedEncryptionKeyResponse generateNonPersonalizedE2EEncryptionKey(GetNonPersonalizedEncryptionKeyRequest request)
request - GetNonPersonalizedEncryptionKeyRequest instance.GetNonPersonalizedEncryptionKeyResponsepublic GetNonPersonalizedEncryptionKeyResponse generateNonPersonalizedE2EEncryptionKey(String applicationKey, String ephemeralPublicKeyBase64, String sessionIndex)
applicationKey - Application key of application used for the key generation.GetNonPersonalizedEncryptionKeyResponsepublic CreateTokenResponse createToken(CreateTokenRequest request)
request - Request with token information.public CreateTokenResponse createToken(String activationId, String ephemeralPublicKey, SignatureType signatureType)
activationId - Activation ID for the activation that is associated with the token.ephemeralPublicKey - Ephemeral public key used for response encryption.signatureType - Type of the signature used for validating the create request.Copyright © 2017–2020 Wultra s.r.o.. All rights reserved.