ui/shared/src/main/java/com/squareup/subzero/shared/SubzeroUtils.java
private static void validateFinalizeWalletInternalCommandRequest(
      InternalCommandRequest.FinalizeWalletRequest request) throws VerificationException {
    validateEncPubKeys(request.getEncryptedPubKeysList());

    if (request.getEncryptedMasterSeed().getEncryptedMasterSeedOrThrow().size() > Constants.ENCRYPTED_MASTER_SEED_MAX_SIZE) {
      throw new VerificationException(ERROR_ENCRYPTED_MASTER_SEED_SIZE);
    }
  }
/**
   * Verifies size/count limits for FinalizeWallet request proto fields
   * These checks are done to align with limits set in the Codesafe module
   * This version is for internal protos
   * @param request FinalizeWalletRequest to be checked
   * @throws VerificationException in the event of a field exceeding a required limit
   */
Verifies size/count limits for FinalizeWallet request proto fields
These checks are done to align with limits set in the Codesafe module
This version is for internal protos
@param request FinalizeWalletRequest to be checked
@throws VerificationException in the event of a field exceeding a required limit
Verifies size / count limits for FinalizeWallet request proto fields These checks are done to align with limits set in the Codesafe module This version is for internal protos @param request FinalizeWalletRequest to be checked @throws VerificationException in the event of a field exceeding a required limit
private static void validateFinalizeWalletInternalCommandRequest(
      InternalCommandRequest.FinalizeWalletRequest request) throws VerificationException {
    validateEncPubKeys(request.getEncryptedPubKeysList());
    if (request.getEncryptedMasterSeed().getEncryptedMasterSeedOrThrow().size() > Constants.ENCRYPTED_MASTER_SEED_MAX_SIZE) {
      throw new VerificationException(ERROR_ENCRYPTED_MASTER_SEED_SIZE);
    }
  }
private static void validateFinalizeWalletInternalCommandRequest ( InternalCommandRequest . FinalizeWalletRequest request ) throws VerificationException { validateEncPubKeys ( request . getEncryptedPubKeysList ( ) ) ; if ( request . getEncryptedMasterSeed ( ) . getEncryptedMasterSeedOrThrow ( ) . size ( ) > Constants . ENCRYPTED_MASTER_SEED_MAX_SIZE ) { throw new VerificationException ( ERROR_ENCRYPTED_MASTER_SEED_SIZE ) ; } }
Verifies size/count limits for FinalizeWallet request proto fields
 These checks are done to align with limits set in the Codesafe module
 This version is for internal protos
 @param request FinalizeWalletRequest to be checked
 @throws VerificationException in the event of a field exceeding a required limit
Verifies size / count limits for FinalizeWallet request proto fields These checks are done to align with limits set in the Codesafe module This version is for internal protos @param request FinalizeWalletRequest to be checked @throws VerificationException in the event of a field exceeding a required limit