Lines Matching defs:identity

45  * handshake the server can provide a <em>PSK identity hint</em> to the client, and the client can
46 * provide a <em>PSK identity</em> to the server. The contents of these two pieces of information
49 * <p><em>NOTE: Both the PSK identity hint and the PSK identity are transmitted in cleartext.
57 * <li>Server replies, optionally providing a PSK identity hint to client.</li>
59 * <li>Client provides a PSK identity of the chosen key to server.</li>
65 * know the key to learn which PSK identity hints or PSK identities are supported. If this is a
68 * where a key is available -- making it appear to the attacker that all PSK identity hints and PSK
76 * <li>128 bytes for PSK identity and PSK identity hint (in modified UTF-8 representation) (see
116 * Maximum supported length (in bytes) for PSK identity hint (in modified UTF-8 representation).
121 /** Maximum supported length (in bytes) for PSK identity (in modified UTF-8 representation). */
128 * Gets the PSK identity hint to report to the client to help agree on the PSK for the provided
134 * @return PSK identity hint to be provided to the client or {@code null} to provide no hint.
142 * Gets the PSK identity hint to report to the client to help agree on the PSK for the provided
148 * @return PSK identity hint to be provided to the client or {@code null} to provide no hint.
156 * Gets the PSK identity to report to the server to help agree on the PSK for the provided
162 * @param identityHint identity hint provided by the server or {@code null} if none provided.
164 * @return PSK identity to provide to the server. {@code null} is permitted but will be
173 * Gets the PSK identity to report to the server to help agree on the PSK for the provided
179 * @param identityHint identity hint provided by the server or {@code null} if none provided.
181 * @return PSK identity to provide to the server. {@code null} is permitted but will be
195 * @param identityHint identity hint provided by the server to help select the key or
197 * @param identity identity provided by the client to help select the key.
203 public SecretKey getKey(String identityHint, String identity, Socket socket) {
213 * @param identityHint identity hint provided by the server to help select the key or
215 * @param identity identity provided by the client to help select the key.
221 public SecretKey getKey(String identityHint, String identity, SSLEngine engine) {