Searched refs:scheme (Results 1 - 25 of 296) sorted by relevance

1234567891011>>

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DChallenge.java22 private final String scheme; field in class:Challenge
25 public Challenge(String scheme, String realm) { argument
26 this.scheme = scheme;
30 /** Returns the authentication scheme, like {@code Basic}. */
32 return scheme;
42 && equal(scheme, ((Challenge) o).scheme)
49 result = 31 * result + (scheme != null ? scheme
[all...]
/external/libmicrohttpd/src/microspdy/
H A Dalstructures.h68 * The scheme used ("http" or "https")
70 char *scheme; member in struct:SPDY_Request
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
H A DPBESecretKeyFactory.java17 private int scheme; field in class:PBESecretKeyFactory
26 int scheme,
34 this.scheme = scheme;
51 return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null);
56 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize);
60 param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize);
63 return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param);
22 PBESecretKeyFactory( String algorithm, ASN1ObjectIdentifier oid, boolean forCipher, int scheme, int digest, int keySize, int ivSize) argument
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
H A DUriLoader.java27 final String scheme = model.getScheme();
30 if (isLocalUri(scheme)) {
37 } else if (urlLoader != null && ("http".equals(scheme) || "https".equals(scheme))) {
48 private static boolean isLocalUri(String scheme) { argument
49 return ContentResolver.SCHEME_FILE.equals(scheme)
50 || ContentResolver.SCHEME_CONTENT.equals(scheme)
51 || ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme);
H A DStringLoader.java10 * A model loader for handling certain string models. Handles paths, urls, and any uri string with a scheme handled by
29 final String scheme = uri.getScheme();
30 if (scheme == null) {
/external/tpm2/
H A DAttest_spt_fp.h11 TPMT_SIG_SCHEME *scheme, // IN/OUT: scheme to be used for signing
17 TPMT_SIG_SCHEME *scheme, // IN: sign scheme
H A DZGen_2Phase.c19 // TPM_RC_SCHEME the scheme of the key referenced by keyA is not TPM_ALG_NULL,
31 TPM_ALG_ID scheme; local
47 // if the scheme of keyA is TPM_ALG_NULL, then use the input scheme; otherwise
48 // the input scheme must be the same as the scheme of keyA
49 scheme = eccKey->publicArea.parameters.asymDetail.scheme.scheme;
50 if(scheme !
[all...]
H A DHMAC_Start.c17 // TPM_RC_VALUE hashAlg is not compatible with the hash algorithm of the scheme of
49 if(publicArea->parameters.keyedHashDetail.scheme.scheme == TPM_ALG_NULL)
56 = publicArea->parameters.keyedHashDetail.scheme.details.hmac.hashAlg;
H A DECDH_ZGen.c18 // TPM_RC_SCHEME the scheme of the key referenced by keyA is not TPM_ALG_NULL,
43 // Make sure the scheme allows this use
44 if( eccKey->publicArea.parameters.eccDetail.scheme.scheme != TPM_ALG_ECDH
45 && eccKey->publicArea.parameters.eccDetail.scheme.scheme != TPM_ALG_NULL)
H A DRSA_Decrypt.c18 // TPM_RC_SCHEME incorrect input scheme, or the chosen scheme is not a valid RSA
19 // decrypt scheme
33 TPMT_RSA_DECRYPT *scheme; local
65 // Select a scheme for decrypt.
66 scheme = CryptSelectRSAScheme(in->keyHandle, &in->inScheme);
67 if(scheme == NULL)
76 scheme, in->cipherText.t.size,
H A DRSA_Encrypt.c17 // TPM_RC_SCHEME incorrect input scheme, or the chosen scheme is not a valid RSA
18 // decrypt scheme
31 TPMT_RSA_DECRYPT *scheme; local
57 // Select a scheme for encryption
58 scheme = CryptSelectRSAScheme(in->keyHandle, &in->inScheme);
59 if(scheme == NULL)
67 scheme, in->message.t.size, in->message.t.buffer,
H A DAttest_spt.c21 // TPM_RC_SCHEME both scheme and key's default scheme are empty; or scheme is
22 // empty while key's default scheme requires explicit input scheme (split
23 // signing); or non-empty default key scheme differs from scheme
28 TPMT_SIG_SCHEME *scheme, // IN/OUT: scheme to be used for signing
35 result = CryptSelectSignScheme(signHandle, scheme);
26 FillInAttestInfo( TPMI_DH_OBJECT signHandle, TPMT_SIG_SCHEME *scheme, TPM2B_DATA *data, TPMS_ATTEST *attest ) argument
121 SignAttestInfo( TPMI_DH_OBJECT signHandle, TPMT_SIG_SCHEME *scheme, TPMS_ATTEST *certifyInfo, TPM2B_DATA *qualifyingData, TPM2B_ATTEST *attest, TPMT_SIGNATURE *signature ) argument
[all...]
/external/curl/tests/libtest/
H A Dlib1536.c31 char *scheme; local
38 /* Test that scheme is properly initialized on curl_easy_init.
41 res = curl_easy_getinfo(curl, CURLINFO_SCHEME, &scheme);
47 if(scheme != NULL) {
48 fprintf(stderr, "%s:%d scheme init failed; expected NULL\n",
63 /* Test that a scheme is properly set after receiving an HTTP resource.
66 res = curl_easy_getinfo(curl, CURLINFO_SCHEME, &scheme);
72 if(memcmp(scheme, "HTTP", 5) != 0) {
73 fprintf(stderr, "%s:%d scheme of http resource is incorrect; "
76 (scheme
[all...]
/external/apache-http/src/org/apache/http/auth/
H A DAuthScope.java39 * a port number, a realm name and an authentication scheme name which
71 * The <tt>null</tt> value represents any authentication scheme.
76 * Default scope matching any host, port, realm and authentication scheme.
82 /** The authentication scheme the credentials apply to. */
83 private final String scheme; field in class:AuthScope
96 * <tt>authentication scheme</tt>.
107 * @param scheme the authentication scheme the credentials apply to.
109 * any authentication scheme.
112 final String realm, final String scheme)
111 AuthScope(final String host, int port, final String realm, final String scheme) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
H A DPBEPBKDF2.java126 private int scheme; field in class:PBEPBKDF2.BasePBKDF2
133 public BasePBKDF2(String name, int scheme) argument
135 this(name, scheme, SHA1);
139 // public BasePBKDF2(String name, int scheme, int defaultDigest)
141 String name, int scheme, int digest, int keySizeInBits, int ivSizeInBits)
146 this.scheme = scheme;
155 private BasePBKDF2(String name, int scheme, int digest) { argument
156 this(name, scheme, digest, 0, 0);
176 this.algName, this.algOid, scheme, defaultDiges
140 BasePBKDF2( String name, int scheme, int digest, int keySizeInBits, int ivSizeInBits) argument
328 BasePBKDF2WithHmacSHA1(String name, int scheme) argument
353 BasePBKDF2WithHmacSHA224(String name, int scheme) argument
369 BasePBKDF2WithHmacSHA256(String name, int scheme) argument
386 BasePBKDF2WithHmacSHA384(String name, int scheme) argument
402 BasePBKDF2WithHmacSHA512(String name, int scheme) argument
[all...]
/external/python/cpython2/Lib/
H A Durlparse.py14 RFC 2368: "The mailto URL scheme", by P.Hoffman , L Masinter, J. Zwinski, July 1998.
59 # Characters valid in scheme names
121 class SplitResult(namedtuple('SplitResult', 'scheme netloc path query fragment'), ResultMixin):
129 class ParseResult(namedtuple('ParseResult', 'scheme netloc path params query fragment'), ResultMixin):
137 def urlparse(url, scheme='', allow_fragments=True):
139 <scheme>://<netloc>/<path>;<params>?<query>#<fragment>
140 Return a 6-tuple: (scheme, netloc, path, params, query, fragment).
143 tuple = urlsplit(url, scheme, allow_fragments)
144 scheme, netloc, url, query, fragment = tuple
145 if scheme i
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
H A DPBES2Parameters.java17 private EncryptionScheme scheme; field in class:PBES2Parameters
37 this.scheme = encScheme;
55 scheme = EncryptionScheme.getInstance(e.nextElement());
65 return scheme;
73 v.add(scheme);
/external/apache-http/src/org/apache/http/conn/
H A DClientConnectionManagerFactory.java34 import org.apache.http.conn.scheme.SchemeRegistry;
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DCredentials.java54 protected String scheme; field in class:Credentials
78 * get the scheme field.
82 return scheme;
86 * Set the scheme member
90 scheme = s;
102 String retval = scheme;
/external/libcups/cups/
H A Dhttp-support.c161 const char *scheme, /* I - Scheme name */
175 if (!uri || urilen < 1 || !scheme || port < 0)
184 * Assemble the URI starting with the scheme...
188 ptr = http_copy_encode(uri, scheme, end, NULL, NULL, 0);
193 if (!strcmp(scheme, "geo") || !strcmp(scheme, "mailto") || !strcmp(scheme, "tel"))
441 const char *scheme, /* I - Scheme name */
457 if (!uri || urilen < 1 || !scheme || port < 0 || !resourcef)
479 return (httpAssembleURI(encoding, uri, urilen, scheme, usernam
157 httpAssembleURI( http_uri_coding_t encoding, char *uri, int urilen, const char *scheme, const char *username, const char *host, int port, const char *resource) argument
437 httpAssembleURIf( http_uri_coding_t encoding, char *uri, int urilen, const char *scheme, const char *username, const char *host, int port, const char *resourcef, ...) argument
899 httpSeparate(const char *uri, char *scheme, char *username, char *host, int *port, char *resource) argument
923 httpSeparate2(const char *uri, char *scheme, int schemelen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen) argument
947 httpSeparateURI( http_uri_coding_t decoding, const char *uri, char *scheme, int schemelen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen) argument
1575 char scheme[32], /* URI components... */ local
2144 const char *scheme, /* URI scheme */ local
2357 const char *scheme, /* URI scheme */ local
[all...]
/external/tensorflow/tensorflow/core/lib/io/
H A Dpath.h76 // Populates the scheme, host, and path from a URI. scheme, host, and path are
81 // - If the URI is invalid, scheme and host are set to empty strings and the
84 void ParseURI(tensorflow::StringPiece uri, tensorflow::StringPiece* scheme,
87 // Creates a URI from a scheme, host, and path. If the scheme is empty, we just
89 string CreateURI(tensorflow::StringPiece scheme, tensorflow::StringPiece host,
/external/apache-http/src/org/apache/http/impl/client/
H A DDefaultUserTokenHandler.java84 AuthScheme scheme = authState.getAuthScheme();
85 if (scheme != null && scheme.isComplete() && scheme.isConnectionBased()) {
/external/curl/docs/cmdline-opts/
H A Dproto-default.d2 Help: Use PROTOCOL for any URL missing a scheme
6 Tells curl to use \fIprotocol\fP for any URL missing a scheme name.
/external/nist-sip/java/gov/nist/javax/sip/address/
H A DTelURLImpl.java52 this.scheme = "tel";
81 /** Returns the value of the "scheme" of this URI, for example "sip", "sips"
84 * @return the scheme paramter of the URI
87 return this.scheme;
100 /** This method determines if this is a URI with a scheme of "sip" or "sips".
102 * @return true if the scheme is "sip" or "sips", false otherwise.
158 return this.scheme + ":" + telephoneNumber.encode();
166 buffer.append(this.scheme).append(':');
/external/pdfium/third_party/libtiff/
H A Dtif_codec.c119 NotConfigured(TIFF* tif, int scheme) argument
121 (void) scheme;
136 * Check whether we have working codec for the specific coding scheme.
143 TIFFIsCODECConfigured(uint16 scheme) argument
145 const TIFFCodec* codec = TIFFFindCODEC(scheme);

Completed in 1633 milliseconds

1234567891011>>