public class PowerAuthServiceClient
extends org.springframework.ws.client.core.support.WebServiceGatewaySupport
| Modifier and Type | Class and Description |
|---|---|
class |
PowerAuthServiceClient.PowerAuthServiceClientV2
Client with PowerAuth version 2.0 methods.
|
| Constructor and Description |
|---|
PowerAuthServiceClient() |
| Modifier and Type | Method and Description |
|---|---|
BlockActivationResponse |
blockActivation(BlockActivationRequest request)
Call the blockActivation method of the PowerAuth 3.0 Server SOAP interface.
|
BlockActivationResponse |
blockActivation(String activationId,
String reason,
String externalUserId)
Call the blockActivation method of the PowerAuth 3.0 Server SOAP interface.
|
CommitActivationResponse |
commitActivation(CommitActivationRequest request)
Call the commitActivation method of the PowerAuth 3.0 Server SOAP interface.
|
CommitActivationResponse |
commitActivation(String activationId,
String externalUserId)
Call the prepareActivation method of the PowerAuth 3.0 Server SOAP interface.
|
CommitUpgradeResponse |
commitUpgrade(CommitUpgradeRequest request)
Commit upgrade of activations to version 3.
|
CommitUpgradeResponse |
commitUpgrade(String activationId,
String applicationKey)
Commit upgrade of activations to version 3.
|
ConfirmRecoveryCodeResponse |
confirmRecoveryCode(ConfirmRecoveryCodeRequest request)
Confirm recovery code.
|
ConfirmRecoveryCodeResponse |
confirmRecoveryCode(String activationId,
String applicationKey,
String ephemeralPublicKey,
String encryptedData,
String mac)
Confirm recovery code.
|
CreateActivationResponse |
createActivation(CreateActivationRequest request)
Create a new activation directly, using the createActivation method of the PowerAuth Server
SOAP interface.
|
CreateActivationResponse |
createActivation(String userId,
Date timestampActivationExpire,
Long maxFailureCount,
String applicationKey,
String ephemeralPublicKey,
String encryptedData,
String mac)
Call the createActivation method of the PowerAuth 3.0 Server SOAP interface.
|
RecoveryCodeActivationResponse |
createActivationUsingRecoveryCode(RecoveryCodeActivationRequest request)
Create activation using recovery code.
|
RecoveryCodeActivationResponse |
createActivationUsingRecoveryCode(String recoveryCode,
String puk,
String applicationKey,
Long maxFailureCount,
String ephemeralPublicKey,
String encryptedData,
String mac)
Create activation using recovery code.
|
CreateApplicationResponse |
createApplication(CreateApplicationRequest request)
Create a new application with given name.
|
CreateApplicationResponse |
createApplication(String name)
Create a new application with given name.
|
CreateApplicationVersionResponse |
createApplicationVersion(CreateApplicationVersionRequest request)
Create a version with a given name for an application with given ID.
|
CreateApplicationVersionResponse |
createApplicationVersion(Long applicationId,
String versionName)
Create a version with a given name for an application with given ID.
|
CreateCallbackUrlResponse |
createCallbackUrl(CreateCallbackUrlRequest request)
Create a new callback URL with given request object.
|
CreateCallbackUrlResponse |
createCallbackUrl(Long applicationId,
String name,
String callbackUrl)
Create a new callback URL with given parameters.
|
CreateIntegrationResponse |
createIntegration(CreateIntegrationRequest request)
Create a new integration with given name.
|
CreateIntegrationResponse |
createIntegration(String name)
Create a new integration with given name.
|
CreateNonPersonalizedOfflineSignaturePayloadResponse |
createNonPersonalizedOfflineSignaturePayload(CreateNonPersonalizedOfflineSignaturePayloadRequest request)
Call the createNonPersonalizedOfflineSignaturePayload method of the PowerAuth 3.0 Server SOAP interface.
|
CreateNonPersonalizedOfflineSignaturePayloadResponse |
createNonPersonalizedOfflineSignaturePayload(long applicationId,
String data)
Call the createNonPersonalizedOfflineSignaturePayload method of the PowerAuth 3.0 Server SOAP interface.
|
CreatePersonalizedOfflineSignaturePayloadResponse |
createPersonalizedOfflineSignaturePayload(CreatePersonalizedOfflineSignaturePayloadRequest request)
Call the createPersonalizedOfflineSignaturePayload method of the PowerAuth 3.0 Server SOAP interface.
|
CreatePersonalizedOfflineSignaturePayloadResponse |
createPersonalizedOfflineSignaturePayload(String activationId,
String data)
Call the createPersonalizedOfflineSignaturePayload method of the PowerAuth 3.0 Server SOAP interface.
|
CreateRecoveryCodeResponse |
createRecoveryCode(CreateRecoveryCodeRequest request)
Create recovery code.
|
CreateRecoveryCodeResponse |
createRecoveryCode(Long applicationId,
String userId,
Long pukCount)
Create recovery code for user.
|
CreateTokenResponse |
createToken(CreateTokenRequest request)
Create a new token for basic token-based authentication.
|
CreateTokenResponse |
createToken(String activationId,
String applicationKey,
String ephemeralPublicKey,
String encryptedData,
String mac,
SignatureType signatureType)
Create a new token for basic token-based authentication.
|
ActivationHistoryResponse |
getActivationHistory(ActivationHistoryRequest request)
Call the getActivationHistory method of the PowerAuth 3.0 Server SOAP interface.
|
List<ActivationHistoryResponse.Items> |
getActivationHistory(String activationId,
Date startingDate,
Date endingDate)
Call the getActivationHistory method of the PowerAuth 3.0 Server SOAP interface.
|
GetActivationListForUserResponse |
getActivationListForUser(GetActivationListForUserRequest request)
Call the getActivationListForUser method of the PowerAuth 3.0 Server SOAP interface.
|
List<GetActivationListForUserResponse.Activations> |
getActivationListForUser(String userId)
Call the getActivationListForUser method of the PowerAuth 3.0 Server SOAP interface.
|
GetActivationStatusResponse |
getActivationStatus(GetActivationStatusRequest request)
Call the getActivationStatus method of the PowerAuth 3.0 Server SOAP interface.
|
GetActivationStatusResponse |
getActivationStatus(String activationId)
Call the getActivationStatus method of the PowerAuth 3.0 Server SOAP interface.
|
GetApplicationDetailResponse |
getApplicationDetail(GetApplicationDetailRequest request)
Return the detail of given application, including all application versions.
|
GetApplicationDetailResponse |
getApplicationDetail(Long applicationId)
Get the detail of an application with given ID, including the version list.
|
List<GetApplicationListResponse.Applications> |
getApplicationList()
Get the list of all applications that are registered in PowerAuth Server.
|
GetApplicationListResponse |
getApplicationList(GetApplicationListRequest request)
Get the list of all applications that are registered in PowerAuth Server.
|
GetCallbackUrlListResponse |
getCallbackUrlList(GetCallbackUrlListRequest request)
Get the response with list of callback URL objects.
|
List<GetCallbackUrlListResponse.CallbackUrlList> |
getCallbackUrlList(Long applicationId)
Get the list of callback URL objects.
|
GetEciesDecryptorResponse |
getEciesDecryptor(GetEciesDecryptorRequest request)
Get ECIES decryptor parameters.
|
GetEciesDecryptorResponse |
getEciesDecryptor(String activationId,
String applicationKey,
String ephemeralPublicKey)
Get ECIES decryptor parameters.
|
List<GetIntegrationListResponse.Items> |
getIntegrationList()
Get the list of integrations.
|
GetIntegrationListResponse |
getIntegrationList(GetIntegrationListRequest request)
Get the list of integrations.
|
GetRecoveryConfigResponse |
getRecoveryConfig(GetRecoveryConfigRequest request)
Get recovery configuration.
|
GetRecoveryConfigResponse |
getRecoveryConfig(Long applicationId)
Get recovery configuration.
|
SignatureAuditResponse |
getSignatureAuditLog(SignatureAuditRequest request)
Call the getSignatureAuditLog method of the PowerAuth 3.0 Server SOAP interface.
|
List<SignatureAuditResponse.Items> |
getSignatureAuditLog(String userId,
Date startingDate,
Date endingDate)
Call the verifySignature method of the PowerAuth 3.0 Server SOAP interface and get
signature audit log for all application of a given user.
|
List<SignatureAuditResponse.Items> |
getSignatureAuditLog(String userId,
Long applicationId,
Date startingDate,
Date endingDate)
Call the verifySignature method of the PowerAuth 3.0 Server SOAP interface and get
signature audit log for a single application.
|
GetSystemStatusResponse |
getSystemStatus()
Call the getSystemStatus method of the PowerAuth 3.0 Server SOAP interface.
|
GetSystemStatusResponse |
getSystemStatus(GetSystemStatusRequest request)
Call the getSystemStatus method of the PowerAuth 3.0 Server SOAP interface.
|
InitActivationResponse |
initActivation(InitActivationRequest request)
Call the initActivation method of the PowerAuth 3.0 Server SOAP interface.
|
InitActivationResponse |
initActivation(String userId,
Long applicationId)
Call the initActivation method of the PowerAuth 3.0 Server SOAP interface.
|
InitActivationResponse |
initActivation(String userId,
Long applicationId,
Long maxFailureCount,
Date timestampActivationExpire)
Call the initActivation method of the PowerAuth 3.0 Server SOAP interface.
|
LookupApplicationByAppKeyResponse |
lookupApplicationByAppKey(LookupApplicationByAppKeyRequest request)
Lookup an application by application key.
|
LookupApplicationByAppKeyResponse |
lookupApplicationByAppKey(String applicationKey)
Lookup an application by application key.
|
LookupRecoveryCodesResponse |
lookupRecoveryCodes(LookupRecoveryCodesRequest request)
Lookup recovery codes.
|
LookupRecoveryCodesResponse |
lookupRecoveryCodes(String userId,
String activationId,
Long applicationId,
RecoveryCodeStatus recoveryCodeStatus,
RecoveryPukStatus recoveryPukStatus)
Lookup recovery codes.
|
PrepareActivationResponse |
prepareActivation(PrepareActivationRequest request)
Call the prepareActivation method of the PowerAuth 3.0 Server SOAP interface.
|
PrepareActivationResponse |
prepareActivation(String activationCode,
String applicationKey,
String ephemeralPublicKey,
String encryptedData,
String mac)
Call the prepareActivation method of the PowerAuth 3.0 Server SOAP interface.
|
RemoveActivationResponse |
removeActivation(RemoveActivationRequest request)
Call the removeActivation method of the PowerAuth 3.0 Server SOAP interface.
|
RemoveActivationResponse |
removeActivation(String activationId,
String externalUserId)
Call the removeActivation method of the PowerAuth 3.0 Server SOAP interface.
|
RemoveActivationResponse |
removeActivation(String activationId,
String externalUserId,
Boolean revokeRecoveryCodes)
Call the removeActivation method of the PowerAuth 3.0 Server SOAP interface.
|
RemoveCallbackUrlResponse |
removeCallbackUrl(RemoveCallbackUrlRequest request)
Remove callback URL.
|
RemoveCallbackUrlResponse |
removeCallbackUrl(String callbackUrlId)
Remove callback URL.
|
RemoveIntegrationResponse |
removeIntegration(RemoveIntegrationRequest request)
Remove integration with given ID.
|
RemoveIntegrationResponse |
removeIntegration(String id)
Remove integration with given ID.
|
RemoveTokenResponse |
removeToken(RemoveTokenRequest request)
Remove token with given token ID.
|
RemoveTokenResponse |
removeToken(String tokenId,
String activationId)
Remove token with given token ID.
|
RevokeRecoveryCodesResponse |
revokeRecoveryCodes(List<Long> recoveryCodeIds)
Revoke recovery codes.
|
RevokeRecoveryCodesResponse |
revokeRecoveryCodes(RevokeRecoveryCodesRequest request)
Revoke recovery codes.
|
StartUpgradeResponse |
startUpgrade(StartUpgradeRequest request)
Start upgrade of activations to version 3.
|
StartUpgradeResponse |
startUpgrade(String activationId,
String applicationKey,
String ephemeralPublicKey,
String encryptedData,
String mac)
Start upgrade of activations to version 3.
|
SupportApplicationVersionResponse |
supportApplicationVersion(Long versionId)
Renew the support for a given application version.
|
SupportApplicationVersionResponse |
supportApplicationVersion(SupportApplicationVersionRequest request)
Renew the support for a given application version.
|
UnblockActivationResponse |
unblockActivation(String activationId,
String externalUserId)
Call the unblockActivation method of the PowerAuth 3.0 Server SOAP interface.
|
UnblockActivationResponse |
unblockActivation(UnblockActivationRequest request)
Call the unblockActivation method of the PowerAuth 3.0 Server SOAP interface.
|
VaultUnlockResponse |
unlockVault(String activationId,
String applicationKey,
String signature,
SignatureType signatureType,
String signedData,
String ephemeralPublicKey,
String encryptedData,
String mac)
Call the vaultUnlock method of the PowerAuth 3.0 Server SOAP interface.
|
VaultUnlockResponse |
unlockVault(VaultUnlockRequest request)
Call the vaultUnlock method of the PowerAuth 3.0 Server SOAP interface.
|
UnsupportApplicationVersionResponse |
unsupportApplicationVersion(Long versionId)
Cancel the support for a given application version.
|
UnsupportApplicationVersionResponse |
unsupportApplicationVersion(UnsupportApplicationVersionRequest request)
Cancel the support for a given application version.
|
UpdateRecoveryConfigResponse |
updateRecoveryConfig(Long applicationId,
Boolean activationRecoveryEnabled,
Boolean recoveryPostcardEnabled,
Boolean allowMultipleRecoveryCodes,
String remoteRecoveryPublicKeyBase64)
Update recovery configuration.
|
UpdateRecoveryConfigResponse |
updateRecoveryConfig(UpdateRecoveryConfigRequest request)
Update recovery configuration.
|
PowerAuthServiceClient.PowerAuthServiceClientV2 |
v2()
Get the PowerAuth 2.0 client.
|
ValidateTokenResponse |
validateToken(String tokenId,
String nonce,
long timestamp,
String tokenDigest)
Validate credentials used for basic token-based authentication.
|
ValidateTokenResponse |
validateToken(ValidateTokenRequest request)
Validate credentials used for basic token-based authentication.
|
VerifyECDSASignatureResponse |
verifyECDSASignature(String activationId,
String data,
String signature)
Call the verifyECDSASignature method of the PowerAuth 3.0 Server SOAP interface.
|
VerifyECDSASignatureResponse |
verifyECDSASignature(VerifyECDSASignatureRequest request)
Call the verifyECDSASignature method of the PowerAuth 3.0 Server SOAP interface.
|
VerifyOfflineSignatureResponse |
verifyOfflineSignature(String activationId,
String data,
String signature,
boolean allowBiometry)
Verify offline signature by calling verifyOfflineSignature method of the PowerAuth 3.0 Server SOAP interface.
|
VerifyOfflineSignatureResponse |
verifyOfflineSignature(VerifyOfflineSignatureRequest request)
Verify offline signature by calling verifyOfflineSignature method of the PowerAuth 3.0 Server SOAP interface.
|
VerifySignatureResponse |
verifySignature(String activationId,
String applicationKey,
String data,
String signature,
SignatureType signatureType,
Long forcedSignatureVersion)
Call the verifySignature method of the PowerAuth 3.0 Server SOAP interface.
|
VerifySignatureResponse |
verifySignature(VerifySignatureRequest request)
Call the verifySignature method of the PowerAuth 3.0 Server SOAP interface.
|
afterPropertiesSet, getDefaultUri, getDestinationProvider, getInterceptors, getMarshaller, getMessageFactory, getMessageSenders, getUnmarshaller, getWebServiceTemplate, initGateway, setDefaultUri, setDestinationProvider, setInterceptors, setMarshaller, setMessageFactory, setMessageSender, setMessageSenders, setUnmarshaller, setWebServiceTemplatepublic GetSystemStatusResponse getSystemStatus(GetSystemStatusRequest request)
request - GetSystemStatusRequest instanceGetSystemStatusResponsepublic GetSystemStatusResponse getSystemStatus()
GetSystemStatusResponsepublic InitActivationResponse initActivation(InitActivationRequest request)
request - InitActivationRequest instanceInitActivationResponsepublic InitActivationResponse initActivation(String userId, Long applicationId)
userId - User ID for which a new CREATED activation should be created.applicationId - Application ID for which a new CREATED activation should be created.InitActivationResponsepublic InitActivationResponse initActivation(String userId, Long applicationId, Long maxFailureCount, Date timestampActivationExpire)
userId - User ID for which a new CREATED activation should be created.applicationId - Application ID for which a new CREATED activation should be created.maxFailureCount - How many failed attempts should be allowed for this activation.timestampActivationExpire - Timestamp until when the activation can be committed.InitActivationResponsepublic PrepareActivationResponse prepareActivation(PrepareActivationRequest request)
request - PrepareActivationRequest instancePrepareActivationResponsepublic PrepareActivationResponse prepareActivation(String activationCode, String applicationKey, String ephemeralPublicKey, String encryptedData, String mac)
activationCode - Activation code.applicationKey - Application key.ephemeralPublicKey - Ephemeral public key for ECIES.encryptedData - Encrypted data for ECIES.mac - Mac of key and data for ECIES.PrepareActivationResponsepublic CreateActivationResponse createActivation(CreateActivationRequest request)
request - Create activation request.public CreateActivationResponse createActivation(String userId, Date timestampActivationExpire, Long maxFailureCount, String applicationKey, String ephemeralPublicKey, String encryptedData, String mac)
userId - User ID.timestampActivationExpire - Expiration timestamp for activation (optional).maxFailureCount - Maximum failure count (optional).applicationKey - Application key.ephemeralPublicKey - Ephemeral public key for ECIES.encryptedData - Encrypted data for ECIES.mac - Mac of key and data for ECIES.CreateActivationResponsepublic CommitActivationResponse commitActivation(CommitActivationRequest request)
request - CommitActivationRequest instanceCommitActivationResponsepublic CommitActivationResponse commitActivation(String activationId, String externalUserId)
activationId - Activation ID for activation to be commited.externalUserId - User ID of user who committed the activation. Use null value if activation owner caused the change.CommitActivationResponsepublic GetActivationStatusResponse getActivationStatus(GetActivationStatusRequest request)
request - GetActivationStatusRequest instanceGetActivationStatusResponsepublic GetActivationStatusResponse getActivationStatus(String activationId)
activationId - Activation Id to lookup information for.GetActivationStatusResponsepublic GetActivationListForUserResponse getActivationListForUser(GetActivationListForUserRequest request)
request - GetActivationListForUserRequest instanceGetActivationListForUserResponsepublic List<GetActivationListForUserResponse.Activations> getActivationListForUser(String userId)
userId - User ID to fetch the activations for.public RemoveActivationResponse removeActivation(RemoveActivationRequest request)
request - RemoveActivationRequest instance.RemoveActivationResponsepublic RemoveActivationResponse removeActivation(String activationId, String externalUserId)
activationId - Activation ID of activation to be removed.externalUserId - User ID of user who removed the activation. Use null value if activation owner caused the change.RemoveActivationResponsepublic RemoveActivationResponse removeActivation(String activationId, String externalUserId, Boolean revokeRecoveryCodes)
activationId - Activation ID of activation to be removed.externalUserId - User ID of user who removed the activation. Use null value if activation owner caused the change.revokeRecoveryCodes - Indicates if the recovery codes associated with this activation should be also revoked.RemoveActivationResponsepublic BlockActivationResponse blockActivation(BlockActivationRequest request)
request - BlockActivationRequest instance.BlockActivationResponsepublic BlockActivationResponse blockActivation(String activationId, String reason, String externalUserId)
activationId - Activation ID of activation to be blocked.externalUserId - User ID of user who blocked the activation. Use null value if activation owner caused the change.reason - Reason why activation is being blocked.BlockActivationResponsepublic UnblockActivationResponse unblockActivation(UnblockActivationRequest request)
request - UnblockActivationRequest instance.UnblockActivationResponsepublic UnblockActivationResponse unblockActivation(String activationId, String externalUserId)
activationId - Activation ID of activation to be unblocked.externalUserId - User ID of user who blocked the activation. Use null value if activation owner caused the change.UnblockActivationResponsepublic VaultUnlockResponse unlockVault(VaultUnlockRequest request)
request - VaultUnlockRequest instanceVaultUnlockResponsepublic VaultUnlockResponse unlockVault(String activationId, String applicationKey, String signature, SignatureType signatureType, String signedData, String ephemeralPublicKey, String encryptedData, String mac)
activationId - Activation Id of an activation to be used for authentication.applicationKey - Application Key of an application related to the activation.signedData - Data to be signed encoded in format as specified by PowerAuth data normalization.signature - Vault opening request signature.signatureType - Vault opening request signature type.ephemeralPublicKey - Ephemeral public key for ECIES.encryptedData - Encrypted data for ECIES.mac - MAC of key and data for ECIES.VaultUnlockResponsepublic CreatePersonalizedOfflineSignaturePayloadResponse createPersonalizedOfflineSignaturePayload(String activationId, String data)
activationId - Activation ID.data - Data for offline signature.CreatePersonalizedOfflineSignaturePayloadResponsepublic CreatePersonalizedOfflineSignaturePayloadResponse createPersonalizedOfflineSignaturePayload(CreatePersonalizedOfflineSignaturePayloadRequest request)
request - CreatePersonalizedOfflineSignaturePayloadRequest instance.CreatePersonalizedOfflineSignaturePayloadResponsepublic CreateNonPersonalizedOfflineSignaturePayloadResponse createNonPersonalizedOfflineSignaturePayload(long applicationId, String data)
applicationId - Application ID.data - Data for offline signature.CreateNonPersonalizedOfflineSignaturePayloadResponsepublic CreateNonPersonalizedOfflineSignaturePayloadResponse createNonPersonalizedOfflineSignaturePayload(CreateNonPersonalizedOfflineSignaturePayloadRequest request)
request - CreateNonPersonalizedOfflineSignaturePayloadRequest instance.CreateNonPersonalizedOfflineSignaturePayloadResponsepublic VerifyOfflineSignatureResponse verifyOfflineSignature(String activationId, String data, String signature, boolean allowBiometry)
activationId - Activation ID.data - Data for signature.signature - Signature value.allowBiometry - Whether POSSESSION_BIOMETRY signature type is allowed during signature verification.public VerifyOfflineSignatureResponse verifyOfflineSignature(VerifyOfflineSignatureRequest request)
request - VerifyOfflineSignatureRequest instance.VerifyOfflineSignatureResponsepublic VerifySignatureResponse verifySignature(VerifySignatureRequest request)
request - VerifySignatureRequest instance.VerifySignatureResponsepublic VerifySignatureResponse verifySignature(String activationId, String applicationKey, String data, String signature, SignatureType signatureType, Long forcedSignatureVersion)
activationId - Activation ID of 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 data normalization.signature - Request signature.signatureType - Request signature type.forcedSignatureVersion - Forced signature version.public VerifyECDSASignatureResponse verifyECDSASignature(VerifyECDSASignatureRequest request)
request - VerifyECDSASignatureRequest instance.VerifyECDSASignatureResponsepublic VerifyECDSASignatureResponse verifyECDSASignature(String activationId, String data, String signature)
activationId - Activation ID of activation to be used for authentication.data - Data that were signed by ECDSA algorithm.signature - Request signature.public SignatureAuditResponse getSignatureAuditLog(SignatureAuditRequest request)
request - SignatureAuditRequest instance.SignatureAuditResponsepublic List<SignatureAuditResponse.Items> getSignatureAuditLog(String userId, Date startingDate, Date endingDate)
userId - User ID to query the audit log against.startingDate - Limit the results to given starting date (= "newer than").endingDate - Limit the results to given ending date (= "older than").SignatureAuditResponse.Items.public List<SignatureAuditResponse.Items> getSignatureAuditLog(String userId, Long applicationId, Date startingDate, Date endingDate)
userId - User ID to query the audit log against.applicationId - Application ID to query the audit log against.startingDate - Limit the results to given starting date (= "newer than").endingDate - Limit the results to given ending date (= "older than").SignatureAuditResponse.Items.public ActivationHistoryResponse getActivationHistory(ActivationHistoryRequest request)
request - ActivationHistoryRequest instance.ActivationHistoryResponsepublic List<ActivationHistoryResponse.Items> getActivationHistory(String activationId, Date startingDate, Date endingDate)
activationId - Activation ID.startingDate - Limit the results to given starting date (= "newer than").endingDate - Limit the results to given ending date (= "older than").ActivationHistoryResponse.Items.public GetApplicationListResponse getApplicationList(GetApplicationListRequest request)
request - GetApplicationListRequest instance.GetApplicationListResponsepublic List<GetApplicationListResponse.Applications> getApplicationList()
public GetApplicationDetailResponse getApplicationDetail(GetApplicationDetailRequest request)
request - GetApplicationDetailRequest instance.GetApplicationDetailResponsepublic GetApplicationDetailResponse getApplicationDetail(Long applicationId)
applicationId - ID of an application to fetch.public LookupApplicationByAppKeyResponse lookupApplicationByAppKey(LookupApplicationByAppKeyRequest request)
request - LookupApplicationByAppKeyRequest instance.LookupApplicationByAppKeyResponsepublic LookupApplicationByAppKeyResponse lookupApplicationByAppKey(String applicationKey)
applicationKey - Application key.public CreateApplicationResponse createApplication(CreateApplicationRequest request)
request - CreateApplicationRequest instance.CreateApplicationResponsepublic CreateApplicationResponse createApplication(String name)
name - Name of the new application.public CreateApplicationVersionResponse createApplicationVersion(CreateApplicationVersionRequest request)
request - CreateApplicationVersionRequest instance.CreateApplicationVersionResponsepublic CreateApplicationVersionResponse createApplicationVersion(Long applicationId, String versionName)
applicationId - ID of an application to create a version for.versionName - Name of the version. The value should follow some well received conventions (such as "1.0.3", for example).public UnsupportApplicationVersionResponse unsupportApplicationVersion(UnsupportApplicationVersionRequest request)
request - UnsupportApplicationVersionRequest instance.UnsupportApplicationVersionResponsepublic UnsupportApplicationVersionResponse unsupportApplicationVersion(Long versionId)
versionId - Version to be unsupported.public SupportApplicationVersionResponse supportApplicationVersion(SupportApplicationVersionRequest request)
request - SupportApplicationVersionRequest instance.SupportApplicationVersionResponsepublic SupportApplicationVersionResponse supportApplicationVersion(Long versionId)
versionId - Version to be supported again.public CreateIntegrationResponse createIntegration(CreateIntegrationRequest request)
request - Request specifying the integration name.public CreateIntegrationResponse createIntegration(String name)
name - Integration name.public GetIntegrationListResponse getIntegrationList(GetIntegrationListRequest request)
request - SOAP request object.public List<GetIntegrationListResponse.Items> getIntegrationList()
public RemoveIntegrationResponse removeIntegration(RemoveIntegrationRequest request)
request - SOAP object with integration ID to be removed.public RemoveIntegrationResponse removeIntegration(String id)
id - ID of integration to be removed.public CreateCallbackUrlResponse createCallbackUrl(CreateCallbackUrlRequest request)
request - SOAP request object with callback URL details.public CreateCallbackUrlResponse createCallbackUrl(Long applicationId, String name, String callbackUrl)
applicationId - Application ID.name - Callback URL display name.callbackUrl - Callback URL value.public GetCallbackUrlListResponse getCallbackUrlList(GetCallbackUrlListRequest request)
request - SOAP request object with application ID.public List<GetCallbackUrlListResponse.CallbackUrlList> getCallbackUrlList(Long applicationId)
applicationId - Application ID.public RemoveCallbackUrlResponse removeCallbackUrl(RemoveCallbackUrlRequest request)
request - Remove callback URL request.public RemoveCallbackUrlResponse removeCallbackUrl(String callbackUrlId)
callbackUrlId - Callback URL ID.public CreateTokenResponse createToken(CreateTokenRequest request)
request - Request with token information.public CreateTokenResponse createToken(String activationId, String applicationKey, String ephemeralPublicKey, String encryptedData, String mac, SignatureType signatureType)
activationId - Activation ID for the activation that is associated with the token.applicationKey - Application key.ephemeralPublicKey - Ephemeral public key used for response encryption.encryptedData - Encrypted request data.mac - MAC computed for request key and data.signatureType - Type of the signature used for validating the create request.public ValidateTokenResponse validateToken(ValidateTokenRequest request)
request - Credentials to validate.public ValidateTokenResponse validateToken(String tokenId, String nonce, long timestamp, String tokenDigest)
tokenId - Token ID.nonce - Random token nonce.timestamp - Token timestamp.tokenDigest - Token digest.public RemoveTokenResponse removeToken(RemoveTokenRequest request)
request - Request with token ID.public RemoveTokenResponse removeToken(String tokenId, String activationId)
tokenId - Token ID.activationId - ActivationId ID.public GetEciesDecryptorResponse getEciesDecryptor(GetEciesDecryptorRequest request)
request - Request for ECIES decryptor parameters.public GetEciesDecryptorResponse getEciesDecryptor(String activationId, String applicationKey, String ephemeralPublicKey)
activationId - Activation ID.applicationKey - Application key.ephemeralPublicKey - Ephemeral public key for ECIES.public StartUpgradeResponse startUpgrade(StartUpgradeRequest request)
request - Start upgrade request.public StartUpgradeResponse startUpgrade(String activationId, String applicationKey, String ephemeralPublicKey, String encryptedData, String mac)
activationId - Activation ID.applicationKey - Application key.ephemeralPublicKey - Ephemeral public key used for response encryption.encryptedData - Encrypted request data.mac - MAC computed for request key and data.public CommitUpgradeResponse commitUpgrade(CommitUpgradeRequest request)
request - Commit upgrade request.public CommitUpgradeResponse commitUpgrade(String activationId, String applicationKey)
activationId - Activation ID.applicationKey - Application key.public CreateRecoveryCodeResponse createRecoveryCode(CreateRecoveryCodeRequest request)
request - Create recovery code request.public CreateRecoveryCodeResponse createRecoveryCode(Long applicationId, String userId, Long pukCount)
applicationId - Application ID.userId - User ID.pukCount - Number of PUKs to create.public ConfirmRecoveryCodeResponse confirmRecoveryCode(ConfirmRecoveryCodeRequest request)
request - Confirm recovery code request.public ConfirmRecoveryCodeResponse confirmRecoveryCode(String activationId, String applicationKey, String ephemeralPublicKey, String encryptedData, String mac)
activationId - Activation ID.applicationKey - Application key.ephemeralPublicKey - Ephemeral public key for ECIES.encryptedData - Encrypted data for ECIES.mac - MAC of key and data for ECIES.public LookupRecoveryCodesResponse lookupRecoveryCodes(LookupRecoveryCodesRequest request)
request - Lookup recovery codes request.public LookupRecoveryCodesResponse lookupRecoveryCodes(String userId, String activationId, Long applicationId, RecoveryCodeStatus recoveryCodeStatus, RecoveryPukStatus recoveryPukStatus)
userId - User ID.activationId - Activation ID.applicationId - Application ID.recoveryCodeStatus - Recovery code status.recoveryPukStatus - Recovery PUK status.public RevokeRecoveryCodesResponse revokeRecoveryCodes(RevokeRecoveryCodesRequest request)
request - Revoke recovery codes request.public RevokeRecoveryCodesResponse revokeRecoveryCodes(List<Long> recoveryCodeIds)
recoveryCodeIds - Identifiers of recovery codes to revoke.public RecoveryCodeActivationResponse createActivationUsingRecoveryCode(RecoveryCodeActivationRequest request)
request - Create activation using recovery code request.public RecoveryCodeActivationResponse createActivationUsingRecoveryCode(String recoveryCode, String puk, String applicationKey, Long maxFailureCount, String ephemeralPublicKey, String encryptedData, String mac)
recoveryCode - Recovery code.puk - Recovery PUK.applicationKey - Application key.maxFailureCount - Maximum failure count.ephemeralPublicKey - Ephemeral public key for ECIES.encryptedData - Encrypted data for ECIES.mac - MAC of key and data for ECIES.public GetRecoveryConfigResponse getRecoveryConfig(GetRecoveryConfigRequest request)
request - Get recovery configuration request.public GetRecoveryConfigResponse getRecoveryConfig(Long applicationId)
applicationId - Application ID.public UpdateRecoveryConfigResponse updateRecoveryConfig(UpdateRecoveryConfigRequest request)
request - Update recovery configuration request.public UpdateRecoveryConfigResponse updateRecoveryConfig(Long applicationId, Boolean activationRecoveryEnabled, Boolean recoveryPostcardEnabled, Boolean allowMultipleRecoveryCodes, String remoteRecoveryPublicKeyBase64)
applicationId - Application ID.activationRecoveryEnabled - Whether activation recovery is enabled.recoveryPostcardEnabled - Whether recovery postcard is enabled.allowMultipleRecoveryCodes - Whether multiple recovery codes are allowed.remoteRecoveryPublicKeyBase64 - Base64 encoded remote public key.public PowerAuthServiceClient.PowerAuthServiceClientV2 v2()
Copyright © 2017–2020 Wultra s.r.o.. All rights reserved.