/openjdk7/jdk/test/java/net/Authenticator/ |
H A D | B6870935.java | 94 // need to get the cnonce out of the response 98 String cnonce = parser.findValue ("cnonce"); 103 "GET", uri, nonce, cnonce, cnstring 113 realm, false, uri, "GET", cnonce, 126 private String getAuthorization (String realm, boolean isRequest, String uri, String method, String cnonce, String cnstring, char[] password, String username) { argument 131 method, uri, nonce, cnonce, cnstring); 138 + "\", cnonce=\"" + cnonce 148 String cnonce, Strin 144 computeDigest( boolean isRequest, String userName, char[] password, String realm, String connMethod, String requestURI, String nonceString, String cnonce, String ncValue ) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/ |
H A D | DigestAuthentication.java | 63 private String cnonce; field in class:DigestAuthentication.Parameters 76 private static final int cnoncelen = 40; /* number of characters in cnonce */ 111 return cnonce; 122 cnonce = new String (cc, 0, cnoncelen); 334 String cnonce = params.getCnonce (); 350 method, uri, nonce, cnonce, ncstring); 371 if (cnonce != null) { 372 value = value + "\", cnonce=\"" + cnonce; 392 String cnonce 430 computeDigest( boolean isRequest, String userName, char[] password, String realm, String connMethod, String requestURI, String nonceString, String cnonce, String ncValue ) argument [all...] |
/openjdk7/jdk/test/sun/net/www/protocol/http/ |
H A D | DigestTest.java | 87 // need to get the cnonce out of the response 91 String cnonce = parser.findValue ("cnonce"); 94 String reply = reply2 + getAuthorization (uri, "GET", cnonce, cnstring) +"\r\n"; 112 private String getAuthorization (String uri, String method, String cnonce, String cnstring) { argument 117 method, uri, nonce, cnonce, cnstring); 124 + "\", cnonce=\"" + cnonce 134 String cnonce, String ncValue 158 cnonce 130 computeDigest( boolean isRequest, String userName, char[] password, String realm, String connMethod, String requestURI, String nonceString, String cnonce, String ncValue ) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/digest/ |
H A D | DigestMD5Client.java | 138 private byte[] cnonce; // client generated nonce field in class:DigestMD5Client 564 * cnonce-value 568 * response value or the cnonce value. 597 cnonce = generateNonce(); 598 digestResp.write("cnonce=\"".getBytes(encoding)); 599 writeQuotedStringValue(digestResp, cnonce); 611 negotiatedRealm, passwd, nonce, cnonce, 661 passwd, nonce, cnonce, nonceCount, authzidBytes);
|
H A D | DigestMD5Server.java | 118 "cnonce", // exactly once 350 * digest-response = 1#( username | realm | nonce | cnonce | 357 * cnonce = "cnonce" "=" <"> cnonce-value <"> 358 * cnonce-value = qdstr-val 446 /* cnonce: exactly once */ 449 "violation. Missing cnonce."); 451 byte[] cnonce = responseVal[CNONCE]; 612 cnonce, NONCE_COUNT_VALU 673 generateResponseAuth(String username, char[] passwd, byte[] cnonce, int nonceCount, byte[] authzidBytes) argument [all...] |