public class HttpSignatureAuthSchemeProvider extends Object implements org.apache.http.auth.AuthSchemeProvider
HttpSignatureAuthScheme.| Constructor and Description |
|---|
HttpSignatureAuthSchemeProvider(KeyPair keyPair,
boolean useNativeCodeToSign)
Deprecated.
|
HttpSignatureAuthSchemeProvider(KeyPair keyPair,
ThreadLocalSigner signer)
Create a new instance of the provider.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.auth.AuthScheme |
create(org.apache.http.protocol.HttpContext context)
Creates an instance of
AuthScheme. |
@Deprecated public HttpSignatureAuthSchemeProvider(KeyPair keyPair, boolean useNativeCodeToSign)
HttpSignatureAuthSchemeProvider(KeyPair, ThreadLocalSigner)keyPair - Public/private keypair object used to sign HTTP requests.useNativeCodeToSign - true to enable native code acceleration of cryptographic singingpublic HttpSignatureAuthSchemeProvider(KeyPair keyPair, ThreadLocalSigner signer)
keyPair - Public/private keypair object used to sign HTTP requests.signer - Configured Signer instanceCopyright © 2015–2020 Joyent. All rights reserved.