Searched defs:token (Results 1 - 25 of 101) sorted by relevance

12345

/openjdk7/jdk/test/sun/security/krb5/
H A DKrbCredSubKey.java66 return ctxt.acceptSecContext(token, 0, token.length);
83 // A JGSS token generated by the first call of an initiator's
86 private static byte[] token = { field in class:KrbCredSubKey
/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/javax/swing/text/html/parser/
H A DContentModelState.java35 * Each time a token is reduced a new state is created.
171 * token is illegal at this point in the content model.
172 * @return next state after reducing a token
174 public ContentModelState advance(Object token) { argument
177 if (model.first(token)) {
179 new ContentModelState(model, next, value + 1)).advance(token);
183 return next.advance(token);
191 if (model.first(token)) {
192 return new ContentModelState(model.content, this).advance(token);
195 return next.advance(token);
[all...]
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...]
/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/codemodel/internal/
H A DClassType.java41 private ClassType(String token) { argument
42 this.declarationToken = token;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/
H A DNGCCRuntimeEx.java162 protected void unexpectedX(String token) throws SAXException { argument
165 token, getLocator().getLineNumber(), getLocator().getColumnNumber()),
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/
H A DSpecVersion.java48 public static SpecVersion parse(String token) { argument
49 if(token.equals("2.0"))
51 if(token.equals("2.1"))
53 if(token.equals("2.2"))
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/
H A DXmlNames.java117 * This method returns true if the identifier is a "name token"
123 * @param token the string being tested
125 public static boolean isNmtoken(String token) { argument
126 int length = token.length();
129 if (!XmlChars.isNameChar(token.charAt(i)))
136 * This method returns true if the identifier is a "name token" as
141 * @param token the string being tested
144 public static boolean isNCNmtoken(String token) { argument
145 return isNmtoken(token) && token
[all...]
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
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 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 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 DP11TlsPrfGenerator.java57 // token instance
58 private final Token token; field in class:P11TlsPrfGenerator
70 P11TlsPrfGenerator(Token token, String algorithm, long mechanism) argument
73 this.token = token;
93 p11Key = P11SecretKeyFactory.convertKey(token, key, null);
126 session = token.getOpSession();
127 token.p11.C_SignInit
129 token.p11.C_SignUpdate(session.id(), 0, label, 0, label.length);
130 token
[all...]
H A DP11TlsRsaPremasterSecretGenerator.java51 // token instance
52 private final Token token; field in class:P11TlsRsaPremasterSecretGenerator
62 P11TlsRsaPremasterSecretGenerator(Token token, String algorithm, long mechanism) argument
65 this.token = token;
95 session = token.getObjSession();
96 CK_ATTRIBUTE[] attributes = token.getAttributes
98 long keyID = token.p11.C_GenerateKey
106 token.releaseSession(session);
H A DP11ECDHKeyAgreement.java46 // token instance
47 private final Token token; field in class:P11ECDHKeyAgreement
64 P11ECDHKeyAgreement(Token token, String algorithm, long mechanism) { argument
66 this.token = token;
78 privateKey = P11KeyFactory.convertKey(token, key, "EC");
124 session = token.getOpSession();
131 attributes = token.getAttributes
133 long keyID = token.p11.C_DeriveKey(session.id(),
139 token
[all...]
H A DP11KeyFactory.java47 // token instance
48 final Token token; field in class:P11KeyFactory
53 P11KeyFactory(Token token, String algorithm) { argument
55 this.token = token;
60 * Convert an arbitrary key of algorithm into a P11Key of token.
63 static P11Key convertKey(Token token, Key key, String algorithm) argument
65 return (P11Key)token.getKeyFactory(algorithm).engineTranslateKey(key);
71 token.ensureValid();
85 // first translate into a key of this token, i
[all...]
H A DP11KeyGenerator.java46 // token instance
47 private final Token token; field in class:P11KeyGenerator
74 * @param token token which provides this mechanism.
81 static int checkKeySize(long keyGenMech, int keySize, Token token) argument
107 info = token.getMechanismInfo(keyGenMech);
149 P11KeyGenerator(Token token, String algorithm, long mechanism) argument
152 this.token = token;
162 (token
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/spnego/
H A DNegotiatorImpl.java131 * Return the first token of GSS, in SPNEGO, it's called NegTokenInit
132 * @return the first token
141 * @param token the token received from server
142 * @return the next token
143 * @throws java.io.IOException if the token cannot be created successfully
146 public byte[] nextToken(byte[] token) throws IOException { argument
148 return context.initSecContext(token, 0, token.length);
/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.) */
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DKeywords.java93 private void enterKeyword(String s, Token token) { argument
95 tokenName[token.ordinal()] = n;
/openjdk7/jdk/src/share/classes/sun/security/jgss/spnego/
H A DNegTokenInit.java35 * Implements the SPNEGO NegTokenInit token
74 byte[] token, byte[] mechListMIC)
79 this.mechToken = token;
137 "Invalid SPNEGO NegTokenInit token : " + e.getMessage());
144 // verify NegotiationToken type token
147 "did not have right token type");
201 "Invalid SPNEGO NegTokenInit token : " + e.getMessage());
220 // to access the mech token portion of SPNEGO tokens
73 NegTokenInit(byte[] mechTypes, BitArray flags, byte[] token, byte[] mechListMIC) argument
H A DNegTokenTarg.java35 * Implements the SPNEGO NegTokenTarg token
62 NegTokenTarg(int result, Oid mech, byte[] token, byte[] mechListMIC) argument
67 this.responseToken = token;
121 "sending additional token for MS Interop");
138 "Invalid SPNEGO NegTokenTarg token : " + e.getMessage());
145 // verify NegotiationToken type token
148 "did not have the right token type");
192 "Invalid SPNEGO NegTokenTarg token : " + e.getMessage());
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/
H A DAliasFileParser.java56 // value class to hold StreamTokenizer token values
74 * method to get the next token as a Token type
80 logln("Read token: type = " + currentToken.ttype
85 * method to match the current Token to a specified token type and
86 * value Throws a SyntaxException if token doesn't match.
88 private void match(int ttype, String token) argument
92 && (currentToken.sval.compareTo(token) == 0)) {
93 logln("matched type: " + ttype + " and token = "
103 * method to match the current Token to a specified token type.
104 * Throws a SyntaxException if token does
115 match(String token) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/impl/
H A DNameConverter.java45 String toClassName( String token );
53 String toInterfaceName( String token );
61 String toPropertyName( String token );
69 String toConstantName( String token );
76 String toVariableName( String token );
102 public String toInterfaceName( String token ) {
103 return toClassName(token);
113 public String toConstantName( String token ) {
114 return super.toConstantName(token);
175 // get the token an
192 removeIllegalIdentifierChars(String token) argument
[all...]
/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...]

Completed in 2772 milliseconds

12345