|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Signed
Convenience annotation that triggers the signing of a request or response using the DOSETA specification. Will create a Doseta-Signature header.
By default simple canonicalization will be used for both header and body. Private keys are never discovered via DNS. The private key used to sign is discovered in the KeyRepository via an alias of (selector + ".")? + "_domainKey." + domain - Same as the doseta specification If you want more fine-grain control over the signature header then you must create your own DosetaSignature instances and pass it with the request or response you want to sign.
Optional Element Summary | |
---|---|
String |
algorithm
|
String |
domain
If there is no domain, then abort. |
After |
expires
|
String |
selector
A default may be used if not set. |
boolean |
timestamped
Will calculate and add a timestamp |
public abstract String algorithm
public abstract String domain
public abstract String selector
public abstract boolean timestamped
public abstract After expires
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |