Autopsy  4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
com.basistech.df.cybertriage.autopsy.ctapi.util.LicenseDecryptorUtil Class Reference

Classes

class  InvalidLicenseException
 

Public Member Functions

LicenseInfo createLicenseInfo (LicenseResponse licenseResponse) throws JsonProcessingException, InvalidLicenseException
 
DecryptedLicenseResponse parseLicenseJSON (BoostLicenseResponse licenseResponse) throws JsonProcessingException, InvalidLicenseException
 

Static Public Member Functions

static LicenseDecryptorUtil getInstance ()
 

Private Member Functions

 LicenseDecryptorUtil ()
 
byte[] decryptKey (byte[] encryptedKeyBytes) throws InvalidKeySpecException, NoSuchAlgorithmException, NoSuchPaddingException, InvalidKeyException, IllegalBlockSizeException, BadPaddingException
 
String decryptLicenseString (String encryptedJson, String ivBase64, String encryptedKey, String version) throws IOException, GeneralSecurityException, InvalidLicenseException
 
PublicKey getPublicKey () throws InvalidKeySpecException, NoSuchAlgorithmException
 

Private Attributes

final ObjectMapper objectMapper = ObjectMapperUtil.getInstance().getDefaultObjectMapper()
 

Static Private Attributes

static final LicenseDecryptorUtil instance = new LicenseDecryptorUtil()
 

Detailed Description

Decrypts the payload of boost license.

Definition at line 51 of file LicenseDecryptorUtil.java.

Constructor & Destructor Documentation

com.basistech.df.cybertriage.autopsy.ctapi.util.LicenseDecryptorUtil.LicenseDecryptorUtil ( )
private

Definition at line 61 of file LicenseDecryptorUtil.java.

Member Function Documentation

LicenseInfo com.basistech.df.cybertriage.autopsy.ctapi.util.LicenseDecryptorUtil.createLicenseInfo ( LicenseResponse  licenseResponse) throws JsonProcessingException, InvalidLicenseException
byte [] com.basistech.df.cybertriage.autopsy.ctapi.util.LicenseDecryptorUtil.decryptKey ( byte[]  encryptedKeyBytes) throws InvalidKeySpecException, NoSuchAlgorithmException, NoSuchPaddingException, InvalidKeyException, IllegalBlockSizeException, BadPaddingException
private
String com.basistech.df.cybertriage.autopsy.ctapi.util.LicenseDecryptorUtil.decryptLicenseString ( String  encryptedJson,
String  ivBase64,
String  encryptedKey,
String  version 
) throws IOException, GeneralSecurityException, InvalidLicenseException
private
static LicenseDecryptorUtil com.basistech.df.cybertriage.autopsy.ctapi.util.LicenseDecryptorUtil.getInstance ( )
static
PublicKey com.basistech.df.cybertriage.autopsy.ctapi.util.LicenseDecryptorUtil.getPublicKey ( ) throws InvalidKeySpecException, NoSuchAlgorithmException
private
DecryptedLicenseResponse com.basistech.df.cybertriage.autopsy.ctapi.util.LicenseDecryptorUtil.parseLicenseJSON ( BoostLicenseResponse  licenseResponse) throws JsonProcessingException, InvalidLicenseException

Member Data Documentation

final LicenseDecryptorUtil com.basistech.df.cybertriage.autopsy.ctapi.util.LicenseDecryptorUtil.instance = new LicenseDecryptorUtil()
staticprivate
final ObjectMapper com.basistech.df.cybertriage.autopsy.ctapi.util.LicenseDecryptorUtil.objectMapper = ObjectMapperUtil.getInstance().getDefaultObjectMapper()
private

Definition at line 59 of file LicenseDecryptorUtil.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.