Searched refs:token (Results 26 - 50 of 192) sorted by relevance

12345678

/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11TlsMasterSecretGenerator.java51 // token instance
52 private final Token token; field in class:P11TlsMasterSecretGenerator
65 P11TlsMasterSecretGenerator(Token token, String algorithm, long mechanism) argument
68 this.token = token;
87 p11Key = P11SecretKeyFactory.convertKey(token, key, null);
96 // We assume the token supports the required mechanism. If it does not,
134 session = token.getObjSession();
135 CK_ATTRIBUTE[] attributes = token.getAttributes(O_GENERATE,
137 long keyID = token
[all...]
H A DP11Digest.java66 // token instance
67 private final Token token; field in class:P11Digest
93 P11Digest(Token token, String algorithm, long mechanism) { argument
95 this.token = token;
129 token.ensureValid();
133 if ((state != S_INIT) || (token.explicitCancel == false)) {
138 token.p11.C_DigestFinal(session.id(), buffer, 0, buffer.length);
147 token.ensureValid();
159 session = token
[all...]
H A DP11RSAKeyFactory.java48 P11RSAKeyFactory(Token token, String algorithm) { argument
49 super(token, algorithm);
112 token.ensureValid();
145 token.ensureValid();
198 attributes = token.getAttributes
202 session = token.getObjSession();
203 long keyID = token.p11.C_CreateObject(session.id(), attributes);
207 token.releaseSession(session);
220 attributes = token.getAttributes
224 session = token
[all...]
H A DP11DHKeyFactory.java48 P11DHKeyFactory(Token token, String algorithm) { argument
49 super(token, algorithm);
112 token.ensureValid();
143 token.ensureValid();
180 attributes = token.getAttributes
184 session = token.getObjSession();
185 long keyID = token.p11.C_CreateObject(session.id(), attributes);
189 token.releaseSession(session);
202 attributes = token.getAttributes
206 session = token
[all...]
H A DP11DSAKeyFactory.java46 P11DSAKeyFactory(Token token, String algorithm) { argument
47 super(token, algorithm);
104 token.ensureValid();
136 token.ensureValid();
175 attributes = token.getAttributes
179 session = token.getObjSession();
180 long keyID = token.p11.C_CreateObject(session.id(), attributes);
184 token.releaseSession(session);
198 attributes = token.getAttributes
202 session = token
[all...]
H A DConfig.java149 // how often to test for token insertion, if no token is present
376 int token = nextToken();
377 if (token == TT_EOF) {
380 if (token == TT_EOL) {
383 if (token != TT_WORD) {
384 throw excToken("Unexpected token:");
496 int token = st.nextToken();
498 return token;
502 int token
521 isCloseBraces(int token) argument
[all...]
H A DP11KeyStore.java102 // (key type gets mangled if secret key is a token key)
120 private final Token token; field in class:P11KeyStore
128 // Map of unique keystore aliases to entries in the token
138 * The underlying token may contain multiple certs belonging to the
145 * share the same CKA_ID, and that the CKA_ID is unique across the token.
150 * unique across the entire token.
154 * that reside on the token.
266 private final long handle; // token object handle
275 P11KeyStore(Token token) { argument
276 this.token
[all...]
H A DP11TlsKeyMaterialGenerator.java55 // token instance
56 private final Token token; field in class:P11TlsKeyMaterialGenerator
73 P11TlsKeyMaterialGenerator(Token token, String algorithm, long mechanism) argument
76 this.token = token;
93 (token, spec.getMasterSecret(), "TlsMasterSecret");
102 // we assume the token supports both the CKM_SSL3_* and the CKM_TLS_*
149 session = token.getObjSession();
161 attributes = token.getAttributes
164 long keyID = token
[all...]
H A DSunPKCS11.java88 private volatile Token token; field in class:SunPKCS11
93 return token;
357 + " but token only has " + slots.length + " slots");
424 private P11Service service(Token token, int mechanism) { argument
426 (token, type, algorithm, className, aliases, mechanism);
703 // background thread that periodically checks for token insertion
704 // if no token is present. We need to do that in a separate thread because
760 TOKEN_PRESENT are false, when it can't access the token.
765 Token token = this.token;
770 uninitToken(Token token) argument
905 private final Token token; field in class:SunPKCS11.P11Service
909 P11Service(Token token, String type, String algorithm, String className, String[] al, long mechanism) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/jgss/spnego/
H A DSpNegoToken.java79 * Creates SPNEGO token of the specified type.
86 * Returns the individual encoded SPNEGO token
88 * @return the encoded token
94 * Returns the encoded SPNEGO token
97 * @return the encoded token
102 // get the token encoded value
103 DerOutputStream token = new DerOutputStream();
104 token.write(encode());
112 true, (byte) NEG_TOKEN_INIT_ID), token);
119 true, (byte) NEG_TOKEN_TARG_ID), token);
[all...]
/openjdk7/jdk/test/java/util/StringTokenizer/
H A DSupplementary.java64 String token = tokenizer.nextToken();
65 if (!token.equals(expected[i++])) {
66 throw new RuntimeException("nextToken(): wrong token. got \""
67 + token + "\", expected \"" + expected[i-1]);
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/resolver/readers/
H A DTR9401CatalogReader.java84 String token = nextToken();
86 if (token == null) {
98 entryToken = token;
100 entryToken = token.toUpperCase();
127 unknownEntry.addElement(token);
129 catalog.getCatalogManager().debug.message(1, "Invalid catalog entry", token);
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DKrb5Context.java193 * GSS token during context establishment.
540 * call indicates that more calls are needed after the next token
543 * @param is contains the token received from the peer. On the
545 * @return any token required to be sent to the peer
547 * to send the token to its peer for processing.
554 InitialToken token = null;
682 token = new InitSecContextToken(this, tgt, serviceCreds);
683 apReq = ((InitSecContextToken)token).getKrbApReq();
684 retVal = token.encode();
695 // just validate the incoming token
1255 setSequencingAndReplayProps(MessageToken token, MessageProp prop) argument
1267 setSequencingAndReplayProps(MessageToken_v2 token, MessageProp prop) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A DTokenBuffer.java62 /** Inserts a token at the head of the buffer. */
63 void insert (Token token) argument
67 _buffer [_currPos] = token;
70 /** Returns the token residing "i" elements from the head of the buffer. */
77 /** Return the token most recently inserted into the buffer (i.e., the head of the buffer.) */
H A DScanner.java166 // The token could be null if the next set of characters
167 // is not a token: white space, comments, ignored preprocessor
169 Token token = null;
172 while (token == null)
200 // and return the token.
201 token = getCharacterToken(true);
211 token = new Token (Token.StringLiteral, getUntil ('"'), true);
230 token = getString ();
233 token = getNumber ();
238 token
[all...]
H A DParser.java137 // call scanner.getToken just in case the first token is
138 // such a directive. But match depends on the token
140 token = new Token (0);
141 tokenHistory.insert (token); // Initialize look back buffer <26jul1997daz>.
145 if (token.equals (Token.EOF))
212 while (!token.equals (Token.EOF))
285 switch (token.type)
307 if (token.type == Token.Interface)
311 Token.Interface }, token.type ) ;
318 if (token
3890 Token token; field in class:Parser
[all...]
/openjdk7/jdk/src/share/classes/com/sun/security/auth/
H A DNTNumericCredential.java29 * <p> This class abstracts an NT security token
43 * @param token the Windows NT security token for this user. <p>
46 public NTNumericCredential(long token) { argument
47 this.impersonationToken = token;
83 * represent the same NT security token.
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/wspolicy/
H A DNamespaceVersion.java109 * Resolves FQN into a policy XML token. The version of the token can be determined
113 * @return XML token enumeration that represents this fully qualified name.
114 * If the token or the namespace is not resolved {@link XmlToken#UNKNOWN} value
120 XmlToken token = XmlToken.resolveToken(name.getLocalPart());
121 if (nsVersion.tokenToQNameCache.containsKey(token)) {
122 return token;
137 for (XmlToken token : supportedTokens) {
138 temp.put(token, new QName(nsUri, token
161 asQName(XmlToken token) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/cmdline/getopt/
H A DGetOpt.java55 String token = args[i];
56 int tokenLength = token.length();
57 if(token.equals("--")){ // end of opts
61 else if(token.startsWith("-") && tokenLength == 2){
62 // simple option token such as '-s' found
63 theOptions.add(new Option(token.charAt(1)));
65 else if(token.startsWith("-") && tokenLength > 2){
70 theOptions.add(new Option(token.charAt(j)));
73 else if(!token.startsWith("-")){
89 op.setArg(token);
[all...]
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/logutil/
H A DIndentingPrintWriter.java45 String token = null ;
49 token = st.nextToken() ;
50 if (token.equals("@")) {
58 result.append( token ) ;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/api/
H A DWsgenProtocol.java46 String token(); method in interface:WsgenProtocol
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DParser.java43 * and discarding input tokens until an input token is reached that
85 ((Scanner)this).token = scanner.token;
102 * except for <code>this.token</code> and <code>this.pos</code>
299 * Expect a token, return its value, scan the next token or
303 if (token != t) {
309 env.error(scanner.prevPos, "token.expected", opNames[t]);
321 switch (token) {
343 while (token
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/scd/
H A DSCDParser.java403 public Token token, jj_nt; field in class:SCDParser
426 token = new Token();
438 token = new Token();
447 token = new Token();
456 token = new Token();
464 token = new Token();
472 token = new Token();
480 if ((oldToken = token).next != null) token = token
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DJavacParser.java41 /** The parser maps a token sequence into an abstract syntax
185 /** Skip forward until a suitable stop token is found.
189 switch (S.token()) {
290 if (S.token() == EOF) {
317 /** If next input token matches given token, skip it, otherwise report
320 public void accept(Token token) { argument
321 if (S.token() == token) {
325 reportSyntaxError(S.prevEndPos(), "expected", token);
2852 prec(Token token) argument
2872 optag(Token token) argument
2944 unoptag(Token token) argument
2966 typetag(Token token) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/parser/
H A DContentModel.java148 * Return true if the token could potentially be the
149 * first token in the input stream.
151 public boolean first(Object token) { argument
156 return ((ContentModel)content).first(token);
160 if (m.first(token)) {
171 Element e = (Element) token;
181 if (m.first(token)) {
191 return (content == token);
194 if (content == token) {
199 return e.content.first(token);
[all...]

Completed in 72 milliseconds

12345678