@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Signed
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.
KeyRepository
public abstract String algorithm
public abstract String domain
If not set, the runtime may set a default domain. See documentation for details.
public abstract String selector
public abstract boolean timestamped
public abstract After expires
Copyright © 2020 JBoss by Red Hat. All rights reserved.