public class PowerAuthServiceClient
extends org.springframework.ws.client.core.support.WebServiceGatewaySupport
| Constructor and Description |
|---|
PowerAuthServiceClient() |
| Modifier and Type | Method and Description |
|---|---|
BlockActivationResponse |
blockActivation(BlockActivationRequest request)
Call the blockActivation method of the PowerAuth 2.0 Server SOAP interface.
|
BlockActivationResponse |
blockActivation(String activationId)
Call the blockActivation method of the PowerAuth 2.0 Server SOAP interface.
|
CommitActivationResponse |
commitActivation(CommitActivationRequest request)
Call the commitActivation method of the PowerAuth 2.0 Server SOAP interface.
|
CommitActivationResponse |
commitActivation(String activationId)
Call the prepareActivation method of the PowerAuth 2.0 Server SOAP interface.
|
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.
|
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.
|
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.
|
GetActivationListForUserResponse |
getActivationListForUser(GetActivationListForUserRequest request)
Call the getActivationListForUser method of the PowerAuth 2.0 Server SOAP interface.
|
List<GetActivationListForUserResponse.Activations> |
getActivationListForUser(String userId)
Call the getActivationListForUser method of the PowerAuth 2.0 Server SOAP interface.
|
GetActivationStatusResponse |
getActivationStatus(GetActivationStatusRequest request)
Call the getActivationStatus method of the PowerAuth 2.0 Server SOAP interface.
|
GetActivationStatusResponse |
getActivationStatus(String activationId)
Call the getActivationStatus method of the PowerAuth 2.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 2.0 Server.
|
GetApplicationListResponse |
getApplicationList(GetApplicationListRequest request)
Get the list of all applications that are registered in PowerAuth 2.0 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.
|
List<GetIntegrationListResponse.Items> |
getIntegrationList()
Get the list of integrations.
|
GetIntegrationListResponse |
getIntegrationList(GetIntegrationListRequest request)
Get the list of integrations.
|
SignatureAuditResponse |
getSignatureAuditLog(SignatureAuditRequest request)
Call the getSignatureAuditLog method of the PowerAuth 2.0 Server SOAP interface.
|
List<SignatureAuditResponse.Items> |
getSignatureAuditLog(String userId,
Date startingDate,
Date endingDate)
Call the verifySignature method of the PowerAuth 2.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 2.0 Server SOAP interface and get
signature audit log for a single application.
|
GetSystemStatusResponse |
getSystemStatus()
Call the getSystemStatus method of the PowerAuth 2.0 Server SOAP interface.
|
GetSystemStatusResponse |
getSystemStatus(GetSystemStatusRequest request)
Call the getSystemStatus method of the PowerAuth 2.0 Server SOAP interface.
|
InitActivationResponse |
initActivation(InitActivationRequest request)
Call the initActivation method of the PowerAuth 2.0 Server SOAP interface.
|
InitActivationResponse |
initActivation(String userId,
Long applicationId)
Call the initActivation method of the PowerAuth 2.0 Server SOAP interface.
|
InitActivationResponse |
initActivation(String userId,
Long applicationId,
Long maxFailureCount,
Date timestampActivationExpire)
Call the initActivation method of the PowerAuth 2.0 Server SOAP interface.
|
PrepareActivationResponse |
prepareActivation(PrepareActivationRequest request)
Call the prepareActivation method of the PowerAuth 2.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.
|
RemoveActivationResponse |
removeActivation(RemoveActivationRequest request)
Call the removeActivation method of the PowerAuth 2.0 Server SOAP interface.
|
RemoveActivationResponse |
removeActivation(String activationId)
Call the removeActivation method of the PowerAuth 2.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.
|
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)
Call the unblockActivation method of the PowerAuth 2.0 Server SOAP interface.
|
UnblockActivationResponse |
unblockActivation(UnblockActivationRequest request)
Call the unblockActivation method of the PowerAuth 2.0 Server SOAP interface.
|
VaultUnlockResponse |
unlockVault(String activationId,
String applicationKey,
String data,
String signature,
String signatureType)
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.
|
UnsupportApplicationVersionResponse |
unsupportApplicationVersion(Long versionId)
Cancel the support for a given application version.
|
UnsupportApplicationVersionResponse |
unsupportApplicationVersion(UnsupportApplicationVersionRequest request)
Cancel the support for a given application version.
|
VerifyECDSASignatureResponse |
verifyECDSASignature(String activationId,
String data,
String signature)
Call the verifyECDSASignature method of the PowerAuth 2.0 Server SOAP interface.
|
VerifyECDSASignatureResponse |
verifyECDSASignature(VerifyECDSASignatureRequest request)
Call the verifyECDSASignature method of the PowerAuth 2.0 Server SOAP interface.
|
VerifySignatureResponse |
verifySignature(String activationId,
String applicationKey,
String data,
String signature,
String signatureType)
Call the verifySignature method of the PowerAuth 2.0 Server SOAP interface.
|
VerifySignatureResponse |
verifySignature(VerifySignatureRequest request)
Call the verifySignature method of the PowerAuth 2.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 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 - extras - Additional, application specific information.CreateActivationResponsepublic CommitActivationResponse commitActivation(CommitActivationRequest request)
request - CommitActivationRequest instanceCommitActivationResponsepublic CommitActivationResponse commitActivation(String activationId)
activationId - Activation ID for activation to be commited.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)
activationId - Activation ID of activation to be removed.RemoveActivationResponsepublic BlockActivationResponse blockActivation(BlockActivationRequest request)
request - BlockActivationRequest instance.BlockActivationResponsepublic BlockActivationResponse blockActivation(String activationId)
activationId - Activation ID of activation to be blocked.BlockActivationResponsepublic UnblockActivationResponse unblockActivation(UnblockActivationRequest request)
request - UnblockActivationRequest instance.UnblockActivationResponsepublic UnblockActivationResponse unblockActivation(String activationId)
activationId - Activation ID of activation to be unblocked.UnblockActivationResponsepublic VaultUnlockResponse unlockVault(VaultUnlockRequest request)
request - VaultUnlockRequest instanceVaultUnlockResponsepublic VaultUnlockResponse unlockVault(String activationId, String applicationKey, String data, String signature, String signatureType)
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.VaultUnlockResponsepublic VerifySignatureResponse verifySignature(VerifySignatureRequest request)
request - VerifySignatureRequest instance.VerifySignatureResponsepublic VerifySignatureResponse verifySignature(String activationId, String applicationKey, String data, String signature, String signatureType)
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 2.0 data normalization.signature - Request signature.signatureType - Request signature type.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 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 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.Itemspublic 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.Itemspublic 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 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.Copyright © 2017 Lime - HighTech Solutions Inc.. All rights reserved.