|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Signer
A strategy for applying cryptographic signatures to a request, proving that the request was made by someone in possession of the given set of credentials without transmitting the secret key over the wire.
Method Summary | |
---|---|
void |
sign(InternalRequest request,
BceCredentials credentials)
Equivalent to sign(request, credentials, SignOptions.DEFAULT). |
void |
sign(InternalRequest request,
BceCredentials credentials,
SignOptions options)
Sign the given request with the given set of credentials. |
Method Detail |
---|
void sign(InternalRequest request, BceCredentials credentials)
request
- the request to sign.credentials
- the credentials to sign the request with.
NullPointerException
- if any parameter is null.void sign(InternalRequest request, BceCredentials credentials, SignOptions options)
request
- the request to sign.credentials
- the credentials to sign the request with.options
- the options for signing.
NullPointerException
- if any parameter is null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |