code: protected TypeValuePairType getTypeValuePair(String type, byte[] value) {
          TypeValuePairType tvp = new TypeValuePairType();
          tvp.setType(type);
          //tvp.setValue(Base64.encodeBase64Chunked(value));
          // the TVP itself base64 encodes now, no need for this
          tvp.setValue(value);
          return tvp;
      }
docs: Create and set a Type Value Pair instance for a given type and value
  
  @param type The type to set
  @param value The value to set
  @return The Type Value Pair instance