Searched refs:token (Results 51 - 75 of 192) sorted by relevance

12345678

/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11ECKeyFactory.java53 P11ECKeyFactory(Token token, String algorithm) { argument
54 super(token, algorithm);
147 token.ensureValid();
177 token.ensureValid();
211 if (!token.config.getUseEcX963Encoding()) {
228 attributes = token.getAttributes
232 session = token.getObjSession();
233 long keyID = token.p11.C_CreateObject(session.id(), attributes);
237 token.releaseSession(session);
249 attributes = token
[all...]
H A DP11KeyAgreement.java51 // token instance
52 private final Token token; field in class:P11KeyAgreement
72 P11KeyAgreement(Token token, String algorithm, long mechanism) { argument
74 this.token = token;
86 privateKey = P11KeyFactory.convertKey(token, key, algorithm);
149 P11DHKeyFactory kf = new P11DHKeyFactory(token, "DH");
194 session = token.getOpSession();
199 attributes = token.getAttributes
201 long keyID = token
[all...]
H A DP11Key.java74 // token instance
75 final Token token; field in class:P11Key
86 // flags indicating whether the key is a token object, sensitive, extractable
95 this.token = session.token;
125 token.ensureValid();
142 if (token.isValid() == false) {
170 if (token.isValid() == false) {
202 token.ensureValid();
203 String s1 = token
[all...]
H A DSessionManager.java73 // token instance
74 private final Token token; field in class:SessionManager
76 // maximum number of sessions to open with this token
94 SessionManager(Token token) { argument
96 if (token.isWriteProtected()) {
98 n = token.tokenInfo.ulMaxSessionCount;
101 n = token.tokenInfo.ulMaxRwSessionCount;
110 this.token = token;
116 // supported by this token
[all...]
H A DP11RSACipher.java70 // token instance
71 private final Token token; field in class:P11RSACipher
105 P11RSACipher(Token token, String algorithm, long mechanism) argument
108 this.token = token;
187 p11Key = P11KeyFactory.convertKey(token, key, algorithm);
232 token.ensureValid();
237 if ((session == null) || (token.explicitCancel == false)) {
241 session = token.killSession(session);
245 PKCS11 p11 = token
[all...]
H A DP11KeyPairGenerator.java55 // token instance
56 private final Token token; field in class:P11KeyPairGenerator
76 P11KeyPairGenerator(Token token, String algorithm, long mechanism) argument
79 this.token = token;
91 token.ensureValid();
113 token.ensureValid();
231 token.ensureValid();
309 session = token.getObjSession();
310 publicKeyTemplate = token
[all...]
H A DP11Cipher.java119 // token instance
120 private final Token token; field in class:P11Cipher
167 P11Cipher(Token token, String algorithm, long mechanism) argument
170 this.token = token;
380 p11Key = P11SecretKeyFactory.convertKey(token, key, keyAlgorithm);
393 if ((session == null) || (token.explicitCancel == false)) {
401 token.p11.C_EncryptFinal(session.id(), 0, buffer, 0, bufLen);
403 token.p11.C_DecryptFinal(session.id(), 0, buffer, 0, bufLen);
420 session = token
[all...]
H A DP11Signature.java66 * Note that the underlying PKCS#11 token may support complete signature
78 // token instance
79 private final Token token; field in class:P11Signature
124 // constant for type update, token does everything
133 P11Signature(Token token, String algorithm, long mechanism) argument
136 this.token = token;
232 token.ensureValid();
239 token.ensureValid();
244 if ((session == null) || (token
[all...]
/openjdk7/jdk/src/share/classes/sun/misc/
H A DExtensionInfo.java261 // Convert token into meaning number for comparision
265 // Convert token into meaning number for comparision
290 private int convertToken(String token) argument
292 if (token == null || token.equals(""))
298 int strLength = token.length();
307 int prIndex = token.indexOf("-");
310 int patchIndex = token.indexOf("_");
316 return Integer.parseInt(token) * 100;
328 prversion = Integer.parseInt(token
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DScanner.java39 * ASCII characters and Unicode escapes into a token sequence.
53 /** The token, set by nextToken().
55 private Token token; field in class:Scanner
73 /** The token's position, 0-based offset from beginning of text.
77 /** Character position just after the last character of the token.
81 /** The last character position of the previous token.
89 /** The name of an identifier or token:
93 /** The radix of a numeric literal token.
195 token = ERROR;
199 /** Report an error at the current token positio
980 public Token token() { method in class:Scanner
992 token(Token token) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xpointer/
H A DXPointerHandler.java139 protected void addToken(Tokens tokens, int token)
141 if (token == Tokens.XPTRTOKEN_OPEN_PAREN
142 || token == Tokens.XPTRTOKEN_CLOSE_PAREN
143 || token == Tokens.XPTRTOKEN_SCHEMENAME
144 || token == Tokens.XPTRTOKEN_SCHEMEDATA
145 || token == Tokens.XPTRTOKEN_SHORTHAND) {
146 super.addToken(tokens, token);
150 .getTokenString(token) });
163 int token = tokens.nextToken();
165 switch (token) {
510 getTokenString(int token) argument
533 addToken(int token) argument
975 addToken(Tokens tokens, int token) argument
[all...]
H A DElementSchemePointer.java136 protected void addToken(Tokens tokens, int token)
138 if (token == Tokens.XPTRTOKEN_ELEM_CHILD
139 || token == Tokens.XPTRTOKEN_ELEM_NCNAME) {
140 super.addToken(tokens, token);
144 .getTokenString(token) });
158 // Initialize a temp arrays to the size of token count which should
167 int token = tokens.nextToken();
169 switch (token) {
174 token = tokens.nextToken();
175 fShortHandPointerName = tokens.getTokenString(token);
550 getTokenString(int token) argument
559 getToken(int token) argument
582 addToken(int token) argument
873 addToken(Tokens tokens, int token) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serialize/
H A DSerializerFactory.java53 StringTokenizer token;
70 token = new StringTokenizer( list, " ;,:" );
71 while ( token.hasMoreTokens() ) {
72 className = token.nextToken();
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsSecurity.java38 // opens process token for given access
48 * Returns the access token for this process with TOKEN_DUPLICATE access
54 * Returns the access token for this process with TOKEN_QUERY access
101 final long token = hToken;
108 if (token != 0L) {
113 AdjustTokenPrivileges(token, pLuid, 0);
118 CloseHandle(token);
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DMicToken_v2.java38 * MIC tokens = { 16-byte token-header | HMAC }
39 * where HMAC is on { plaintext | 16-byte token-header }
61 "Corrupt checksum or sequence number in MIC token");
72 "Corrupt checksum or sequence number in MIC token");
109 byte[] token = encode();
110 System.arraycopy(token, 0, outToken, offset, token.length);
111 return token.length;
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/fsm/
H A DNameBase.java44 String token = st.nextToken() ;
46 token = st.nextToken() ;
47 return token ;
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/
H A DPatternReferenceTypeSpec.java92 String token = tokenizer.nextToken();
94 // and the first token can also be "*". (Note that
97 if (!Utils.isJavaIdentifier(token) && !(first && token.equals("*"))) {
/openjdk7/jdk/src/windows/classes/sun/net/www/protocol/http/ntlm/
H A DNTLMAuthSequence.java74 public String getAuthHeader (String token) throws IOException { argument
79 if (token != null)
80 input = (new BASE64Decoder()).decodeBuffer(token);
/openjdk7/jdk/test/sun/security/krb5/auto/
H A DTest5653.java74 byte[] token = c1.initSecContext(new byte[0], 0, 0);
79 s.x().acceptSecContext(token, 0, token.length);
/openjdk7/jdk/test/sun/security/pkcs11/KeyStore/
H A DSecretKeysBasic.sh104 for token in ${TOKENS}
107 if [ ${token} = "nss" ]
109 # make cert/key DBs writable if token is NSS
116 elif [ ${token} = "solaris" ]
148 -DCUSTOM_P11_CONFIG=${TESTSRC}${FS}BasicData${FS}p11-${token}.txt \
151 -DTOKEN=${token} \
155 # -DCUSTOM_P11_CONFIG=${TESTSRC}${FS}BasicData${FS}p11-${token}.txt \
160 echo "Test against " ${token} " Failed!"
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DScanner.java36 * The scanner keeps track of the current token,
37 * the value of the current token (if any), and the start
38 * position of the current token.<p>
41 * token in the input.<p>
99 * Current token
101 public int token; field in class:Scanner
104 * The position of the current token
109 * The position of the previous token
131 * A doc comment preceding the most recent token
170 * and scan the first token fro
758 looksLikeZero(String token) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DAbstractLauncher.java75 String token = tokenizer.nextToken();
77 if (token.equals(quoteStr)) {
81 quoted += token;
84 if (token.equals(quoteStr)) {
86 } else if ((token.length() == 1) &&
87 Character.isWhitespace(token.charAt(0))) {
90 throw new InternalException("Unexpected token: " + token);
94 if (token.equals(quoteStr)) {
96 } else if ((token
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/resolver/readers/
H A DTextCatalogReader.java62 * the ability to "push back" a token.
127 String token = nextToken();
129 if (token == null) {
141 entryToken = token;
143 entryToken = token.toUpperCase();
166 unknownEntry.addElement(token);
168 catalog.getCatalogManager().debug.message(1, "Invalid catalog entry", token);
201 * Return the next token in the catalog file.
206 * @return The Catalog file token from the input stream.
210 String token
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DCSSParser.java81 // Indicates the type of token being parsed.
168 int token = nextToken((char)0);
170 switch (token) {
185 parseTillClosed(token);
325 int token = parseDeclaration();
326 switch (token) {
341 * identifier. This returns the last token seen.
345 int token;
347 if ((token = parseIdentifiers(':', false)) != IDENTIFIER) {
348 return token;
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/tty/
H A DTTY.java858 String token = argv[i];
859 if (token.equals("-dbgtrace")) {
874 } else if (token.equals("-X")) {
879 token.equals("-v") || token.startsWith("-v:") || // -v[:...]
880 token.startsWith("-verbose") || // -verbose[:...]
881 token.startsWith("-D") ||
884 token.startsWith("-X") ||
887 token.equals("-noasyncgc") || token
[all...]

Completed in 987 milliseconds

12345678