All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.uid2.client.EnvelopeV2 Maven / Gradle / Ivy

package com.uid2.client;


public class EnvelopeV2 {
  EnvelopeV2(String envelope, byte[] nonce) {
    this.envelope = envelope;
    this.nonce = nonce;
  }

  /**
   * @return an encrypted request envelope which can be used in the POST body of a UID2 endpoint.
   * See Encrypted Request Envelope
   */
  public String getEnvelope() { return envelope; }
  byte[] getNonce() { return nonce;}

  private final String envelope;
  private final byte[] nonce;
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy