Searched defs:nonce (Results 1 - 13 of 13) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/security/ntlm/
H A DServer.java45 * byte[] type2 = server.type2(type1, nonce);
47 * verify(type3, nonce);
81 * @param nonce the random 8-byte array to be used in message generation,
85 * {@code nonce} is null.
87 public byte[] type2(byte[] type1, byte[] nonce) throws NTLMException { argument
88 if (nonce == null) {
90 "nonce cannot be null");
98 p.writeBytes(24, nonce);
108 * @param nonce the same nonce provide
113 verify(byte[] type3, byte[] nonce) argument
[all...]
H A DClient.java41 * byte[] type3 = client.type3(type2, nonce);
119 * @param nonce random 8-byte array to be used in message generation,
123 * {@code nonce} is null for NTLM v1.
125 public byte[] type3(byte[] type2, byte[] nonce) throws NTLMException { argument
126 if (type2 == null || (v != Version.NTLM && nonce == null)) {
128 "type2 and nonce cannot be null");
159 lm = ntlm2LM(nonce);
160 ntlm = ntlm2NTLM(nthash, nonce, challenge);
164 username.toUpperCase(Locale.US)+domain, nonce, challenge);
178 System.arraycopy(nonce,
[all...]
H A DNTLM.java398 static byte[] ntlm2LM(byte[] nonce) { argument
399 return Arrays.copyOf(nonce, 24);
402 byte[] ntlm2NTLM(byte[] ntlmHash, byte[] nonce, byte[] challenge) { argument
404 System.arraycopy(nonce, 0, b, 8, 8);
/openjdk7/jdk/src/share/classes/sun/security/timestamp/
H A DTSRequest.java48 * nonce INTEGER OPTIONAL,
90 private BigInteger nonce = null; field in class:TSRequest
142 * Sets a nonce.
143 * A nonce is a single-use random number.
145 * @param nonce The nonce value.
147 public void setNonce(BigInteger nonce) { argument
148 this.nonce = nonce;
190 if (nonce !
[all...]
H A DTimestampToken.java55 * nonce INTEGER OPTIONAL,
81 private BigInteger nonce; field in class:TimestampToken
115 return nonce;
156 if (d.tag == DerValue.tag_Integer) { // must be the nonce
157 nonce = d.getBigInteger();
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/
H A DEncKrbCredPart.java46 * nonce [1] UInt32 OPTIONAL,
64 private Integer nonce; //optional field in class:EncKrbCredPart
88 nonce = new_nonce;
115 nonce = null;
143 nonce = new Integer(subDer.getData().getBigInteger().intValue());
184 if (nonce != null) {
186 temp.putInteger(BigInteger.valueOf(nonce.intValue()));
H A DEncKDCRepPart.java47 * nonce [2] UInt32,
70 public int nonce; field in class:EncKDCRepPart
98 nonce = new_nonce;
151 nonce = subDer.getData().getBigInteger().intValue();
186 temp.putInteger(BigInteger.valueOf(nonce));
H A DKDCReqBody.java54 * nonce [7] UInt32,
82 private int nonce; field in class:KDCReqBody
108 nonce = new_nonce;
156 nonce = der.getData().getBigInteger().intValue();
238 temp.putInteger(BigInteger.valueOf(nonce));
271 return nonce;
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/ntlm/
H A DNTLMServer.java71 * java.util.Random, the nonce source. Default null, an internal
97 private byte[] nonce; field in class:NTLMServer
163 nonce = new byte[8];
176 random.nextBytes(nonce);
177 return server.type2(response, nonce);
179 String[] out = server.verify(response, nonce);
/openjdk7/jdk/test/java/net/Authenticator/
H A DB6870935.java46 static String nonce = "abcdefghijklmnopqrstuvwxyz"; field in class:B6870935
60 "nonce=\""+nonce+"\" qop=\"auth\"\r\n\r\n";
103 "GET", uri, nonce, cnonce, cnstring
131 method, uri, nonce, cnonce, cnstring);
/openjdk7/jdk/test/sun/net/www/protocol/http/
H A DDigestTest.java53 "nonce=\""+nonce+"\" qop=\"auth\"\r\n\r\n";
108 static String nonce = "abcdefghijklmnopqrstuvwxyz"; field in class:DigestServer
117 method, uri, nonce, cnonce, cnstring);
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/
H A DDigestAuthentication.java64 private String nonce; field in class:DigestAuthentication.Parameters
71 // Force the HA1 value to be recalculated because the nonce has changed
89 nonce = null;
143 synchronized String getNonce () { return nonce;}
146 if (!s.equals(nonce)) {
147 nonce=s;
259 String newNonce = p.findValue ("nonce");
276 params.setNonce (p.findValue("nonce"));
293 if (params.nonce == null || authMethod == null || pw == null || realm == null) {
335 String nonce
[all...]
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/digest/
H A DDigestMD5Base.java153 protected byte[] nonce; // server generated nonce field in class:DigestMD5Base
273 * @return A non-null byte array containing the nonce value for the
304 byte[] nonce = new byte[ENCODED_NONCE_SIZE];
313 nonce[j++] = (byte)(pem_array[(a >>> 2) & 0x3F]);
314 nonce[j++] = (byte)(pem_array[((a << 4) & 0x30) + ((b >>> 4) & 0xf)]);
315 nonce[j++] = (byte)(pem_array[((b << 2) & 0x3c) + ((c >>> 6) & 0x3)]);
316 nonce[j++] = (byte)(pem_array[c & 0x3F]);
319 return nonce;
543 // : nonce
[all...]

Completed in 187 milliseconds