@@ -65,11 +65,11 @@ public interface JweHeader extends ProtectedHeader {
65
65
* @return the <a href="https://www.rfc-editor.org/rfc/rfc7518.html#section-4.6.1.1">{@code epk} (Ephemeral
66
66
* Public Key)</a> header value created by the JWE originator for use with key agreement algorithms, or
67
67
* {@code null} if not present.
68
- * @see Jwts.KEY
69
- * @see Jwts.KEY #ECDH_ES
70
- * @see Jwts.KEY #ECDH_ES_A128KW
71
- * @see Jwts.KEY #ECDH_ES_A192KW
72
- * @see Jwts.KEY #ECDH_ES_A256KW
68
+ * @see Jwe.enc
69
+ * @see Jwe.enc #ECDH_ES
70
+ * @see Jwe.enc #ECDH_ES_A128KW
71
+ * @see Jwe.enc #ECDH_ES_A192KW
72
+ * @see Jwe.enc #ECDH_ES_A256KW
73
73
*/
74
74
PublicJwk <?> getEphemeralPublicKey ();
75
75
@@ -80,10 +80,10 @@ public interface JweHeader extends ProtectedHeader {
80
80
* @return any information about the JWE producer for use with key agreement algorithms, or {@code null} if not
81
81
* present.
82
82
* @see <a href="https://www.rfc-editor.org/rfc/rfc7518.html#section-4.6.1.2">JWE <code>apu</code> (Agreement PartyUInfo) Header Parameter</a>
83
- * @see Jwts.KEY #ECDH_ES
84
- * @see Jwts.KEY #ECDH_ES_A128KW
85
- * @see Jwts.KEY #ECDH_ES_A192KW
86
- * @see Jwts.KEY #ECDH_ES_A256KW
83
+ * @see Jwe.enc #ECDH_ES
84
+ * @see Jwe.enc #ECDH_ES_A128KW
85
+ * @see Jwe.enc #ECDH_ES_A192KW
86
+ * @see Jwe.enc #ECDH_ES_A256KW
87
87
*/
88
88
byte [] getAgreementPartyUInfo ();
89
89
@@ -94,10 +94,10 @@ public interface JweHeader extends ProtectedHeader {
94
94
* @return any information about the JWE recipient for use with key agreement algorithms, or {@code null} if not
95
95
* present.
96
96
* @see <a href="https://www.rfc-editor.org/rfc/rfc7518.html#section-4.6.1.3">JWE <code>apv</code> (Agreement PartyVInfo) Header Parameter</a>
97
- * @see Jwts.KEY #ECDH_ES
98
- * @see Jwts.KEY #ECDH_ES_A128KW
99
- * @see Jwts.KEY #ECDH_ES_A192KW
100
- * @see Jwts.KEY #ECDH_ES_A256KW
97
+ * @see Jwe.enc #ECDH_ES
98
+ * @see Jwe.enc #ECDH_ES_A128KW
99
+ * @see Jwe.enc #ECDH_ES_A192KW
100
+ * @see Jwe.enc #ECDH_ES_A256KW
101
101
*/
102
102
byte [] getAgreementPartyVInfo ();
103
103
@@ -113,9 +113,9 @@ public interface JweHeader extends ProtectedHeader {
113
113
* automatically when producing the encryption key.</p>
114
114
*
115
115
* @return the 96-bit initialization vector generated during key encryption, or {@code null} if not present.
116
- * @see Jwts.KEY #A128GCMKW
117
- * @see Jwts.KEY #A192GCMKW
118
- * @see Jwts.KEY #A256GCMKW
116
+ * @see Jwe.enc #A128GCMKW
117
+ * @see Jwe.enc #A192GCMKW
118
+ * @see Jwe.enc #A256GCMKW
119
119
*/
120
120
byte [] getInitializationVector ();
121
121
@@ -130,9 +130,9 @@ public interface JweHeader extends ProtectedHeader {
130
130
* automatically when producing the encryption key.</p>
131
131
*
132
132
* @return the 128-bit authentication tag resulting from key encryption, or {@code null} if not present.
133
- * @see Jwts.KEY #A128GCMKW
134
- * @see Jwts.KEY #A192GCMKW
135
- * @see Jwts.KEY #A256GCMKW
133
+ * @see Jwe.enc #A128GCMKW
134
+ * @see Jwe.enc #A192GCMKW
135
+ * @see Jwe.enc #A256GCMKW
136
136
*/
137
137
byte [] getAuthenticationTag ();
138
138
@@ -143,9 +143,9 @@ public interface JweHeader extends ProtectedHeader {
143
143
* @return the number of PBKDF2 iterations necessary to derive the key used during JWE encryption, or {@code null}
144
144
* if not present.
145
145
* @see <a href="https://www.rfc-editor.org/rfc/rfc7518.html#section-4.8.1.2">JWE <code>p2c</code> (PBES2 Count) Header Parameter</a>
146
- * @see Jwts.KEY #PBES2_HS256_A128KW
147
- * @see Jwts.KEY #PBES2_HS384_A192KW
148
- * @see Jwts.KEY #PBES2_HS512_A256KW
146
+ * @see Jwe.enc #PBES2_HS256_A128KW
147
+ * @see Jwe.enc #PBES2_HS384_A192KW
148
+ * @see Jwe.enc #PBES2_HS512_A256KW
149
149
*/
150
150
Integer getPbes2Count ();
151
151
@@ -162,9 +162,9 @@ public interface JweHeader extends ProtectedHeader {
162
162
* @return the PBKDF2 {@code Salt Input} value necessary to derive the key used during JWE encryption, or
163
163
* {@code null} if not present.
164
164
* @see <a href="https://www.rfc-editor.org/rfc/rfc7518.html#section-4.8.1.1">JWE <code>p2s</code> (PBES2 Salt Input) Header Parameter</a>
165
- * @see Jwts.KEY #PBES2_HS256_A128KW
166
- * @see Jwts.KEY #PBES2_HS384_A192KW
167
- * @see Jwts.KEY #PBES2_HS512_A256KW
165
+ * @see Jwe.enc #PBES2_HS256_A128KW
166
+ * @see Jwe.enc #PBES2_HS384_A192KW
167
+ * @see Jwe.enc #PBES2_HS512_A256KW
168
168
*/
169
169
byte [] getPbes2Salt ();
170
170
}
0 commit comments