Interface ClientCryptoManagerService
-
- All Known Implementing Classes:
ClientCryptoManagerServiceImpl
public interface ClientCryptoManagerService- Since:
- 1.1.2
- Author:
- Anusha Sunkada
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TpmCryptoResponseDtocsDecrypt(TpmCryptoRequestDto tpmCryptoRequestDto)Decrypts cipher with TPM private keyTpmCryptoResponseDtocsEncrypt(TpmCryptoRequestDto tpmCryptoRequestDto)Encrypt data with TPM public keyTpmSignResponseDtocsSign(TpmSignRequestDto tpmSignRequestDto)Signs with TPM private keyTpmSignVerifyResponseDtocsVerify(TpmSignVerifyRequestDto tpmSignVerifyRequestDto)Verify provided signature and data with TPM public keyPublicKeyResponseDtogetEncPublicKey(PublicKeyRequestDto publicKeyRequestDto)Returns TPM encryption public keyPublicKeyResponseDtogetSigningPublicKey(PublicKeyRequestDto publicKeyRequestDto)Returns TPM public key
-
-
-
Method Detail
-
csSign
TpmSignResponseDto csSign(TpmSignRequestDto tpmSignRequestDto)
Signs with TPM private key- Parameters:
tpmSignRequestDto-- Returns:
- TpmSignResponseDto
-
csVerify
TpmSignVerifyResponseDto csVerify(TpmSignVerifyRequestDto tpmSignVerifyRequestDto)
Verify provided signature and data with TPM public key- Parameters:
tpmSignVerifyRequestDto-- Returns:
- TpmSignVerifyResponseDto
-
csEncrypt
TpmCryptoResponseDto csEncrypt(TpmCryptoRequestDto tpmCryptoRequestDto)
Encrypt data with TPM public key- Parameters:
tpmCryptoRequestDto-- Returns:
- TpmCryptoResponseDto
-
csDecrypt
TpmCryptoResponseDto csDecrypt(TpmCryptoRequestDto tpmCryptoRequestDto)
Decrypts cipher with TPM private key- Parameters:
tpmCryptoRequestDto-- Returns:
- TpmCryptoResponseDto
-
getSigningPublicKey
PublicKeyResponseDto getSigningPublicKey(PublicKeyRequestDto publicKeyRequestDto)
Returns TPM public key- Parameters:
publicKeyRequestDto-- Returns:
-
getEncPublicKey
PublicKeyResponseDto getEncPublicKey(PublicKeyRequestDto publicKeyRequestDto)
Returns TPM encryption public key- Parameters:
publicKeyRequestDto-- Returns:
-
-