You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/com/uid2/client/EnvelopeV2.java
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,19 +2,23 @@
2
2
3
3
4
4
publicclassEnvelopeV2 {
5
-
EnvelopeV2(Stringenvelope, byte[] nonce) {
6
-
this.envelope = envelope;
5
+
EnvelopeV2(byte[]envelope, byte[] nonce) {
6
+
this.binaryEnvelope = envelope;
7
7
this.nonce = nonce;
8
8
}
9
9
10
10
/**
11
11
* @return an encrypted request envelope which can be used in the POST body of a <a href="https://unifiedid.com/docs/endpoints/summary-endpoints">UID2 endpoint</a>.
12
12
* See <a href="https://unifiedid.com/docs/getting-started/gs-encryption-decryption#encrypted-request-envelope">Encrypted Request Envelope</a>
@@ -42,7 +42,7 @@ public TokenGenerateResponse generateTokenResponse(TokenGenerateInput tokenGener
42
42
* @return the refreshed IdentityTokens instance (with a new advertising token and updated expiry times). Typically, this will be used to replace the current identity in the user's session
0 commit comments