public class HttpSignatureAuthSchemeProviderLookup extends Object implements org.apache.http.config.Lookup<org.apache.http.auth.AuthSchemeProvider>
Lookup implementation that provides a
default mapping to an HTTP signatures
AuthSchemeProvider.| Constructor and Description |
|---|
HttpSignatureAuthSchemeProviderLookup(HttpSignatureAuthSchemeProvider authSchemeProvider)
Create a new instance of the lookup with the passed provider.
|
HttpSignatureAuthSchemeProviderLookup(KeyPair keyPair,
boolean useNativeCodeToSign)
Deprecated.
|
HttpSignatureAuthSchemeProviderLookup(KeyPair keyPair,
ThreadLocalSigner signer)
Create a new instance of the lookup with a new provider setup with the
passed key.
|
public HttpSignatureAuthSchemeProviderLookup(HttpSignatureAuthSchemeProvider authSchemeProvider)
authSchemeProvider - provider to use to back lookup calls@Deprecated public HttpSignatureAuthSchemeProviderLookup(KeyPair keyPair, boolean useNativeCodeToSign)
HttpSignatureAuthSchemeProviderLookup(KeyPair, ThreadLocalSigner)keyPair - Public/private keypair object used to sign HTTP requests.useNativeCodeToSign - true to enable native code acceleration of cryptographic singingpublic HttpSignatureAuthSchemeProviderLookup(KeyPair keyPair, ThreadLocalSigner signer)
keyPair - Public/private keypair object used to sign HTTP requests.signer - Configured Signer instancepublic org.apache.http.auth.AuthSchemeProvider lookup(String name)
lookup in interface org.apache.http.config.Lookup<org.apache.http.auth.AuthSchemeProvider>Copyright © 2015–2020 Joyent. All rights reserved.