
public class SigningInterceptor extends AbstractOperationInterceptor implements OperationInterceptor, Prototype<SigningInterceptor>
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparatorPrototype.PrototypingContext| Modifier and Type | Field and Description |
|---|---|
static SignatureCreator<? extends Signature> |
DEFAULT_SIGNATURE_CREATOR |
static XDIAddress |
XDI_ADD_DO_SIG |
DEFAULT_INIT_PRIORITY, DEFAULT_SHUTDOWN_PRIORITY| Constructor and Description |
|---|
SigningInterceptor() |
SigningInterceptor(SignatureCreator<? extends Signature> signatureCreator) |
| Modifier and Type | Method and Description |
|---|---|
InterceptorResult |
before(Operation operation,
Graph operationResultGraph,
ExecutionContext executionContext)
Run before an operation is executed.
|
SignatureCreator<? extends Signature> |
getSignatureCreator() |
SigningInterceptor |
instanceFor(Prototype.PrototypingContext prototypingContext) |
void |
setSignatureCreator(SignatureCreator<? extends Signature> signatureCreator) |
afterclearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterclearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skippublic static final XDIAddress XDI_ADD_DO_SIG
public static final SignatureCreator<? extends Signature> DEFAULT_SIGNATURE_CREATOR
public SigningInterceptor(SignatureCreator<? extends Signature> signatureCreator)
public SigningInterceptor()
public SigningInterceptor instanceFor(Prototype.PrototypingContext prototypingContext) throws Xdi2MessagingException
instanceFor in interface Prototype<SigningInterceptor>Xdi2MessagingExceptionpublic InterceptorResult before(Operation operation, Graph operationResultGraph, ExecutionContext executionContext) throws Xdi2MessagingException
OperationInterceptorbefore in interface OperationInterceptorbefore in class AbstractOperationInterceptoroperation - The operation to process.operationResultGraph - The operation's message result.executionContext - The current execution context.Xdi2MessagingExceptionpublic SignatureCreator<? extends Signature> getSignatureCreator()
public void setSignatureCreator(SignatureCreator<? extends Signature> signatureCreator)
Copyright © 2017. All rights reserved.