Class SignatureService
- java.lang.Object
-
- com.adaptris.core.ServiceImp
-
- com.adaptris.aws.kms.AWSKMSServiceImpl
-
- com.adaptris.aws.kms.SignatureService
-
- All Implemented Interfaces:
AdaptrisComponent,ComponentLifecycle,ComponentLifecycleExtension,ConnectedService,MessageEventGenerator,Service,StateManagedComponent
- Direct Known Subclasses:
GenerateSignatureService,VerifySignatureService
public abstract class SignatureService extends AWSKMSServiceImpl
-
-
Field Summary
-
Fields inherited from class com.adaptris.core.ServiceImp
log
-
-
Constructor Summary
Constructors Constructor Description SignatureService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanextendedLogging()java.lang.BooleangetExtendedLogging()java.lang.StringgetMessageType()Specify the message type for this operation.java.lang.StringgetSigningAlgorithm()Specify the signing algorithm to use for this operation.com.amazonaws.services.kms.model.MessageTypemessageType(AdaptrisMessage msg)voidsetExtendedLogging(java.lang.Boolean extendedLogging)voidsetMessageType(java.lang.String messageType)Specify the message type for this operation.voidsetSigningAlgorithm(java.lang.String signingAlgorithm)Specify the signing algorithm to use for this operation.com.amazonaws.services.kms.model.SigningAlgorithmSpecsigningAlgorithm(AdaptrisMessage msg)<T extends SignatureService>
TwithMessageType(java.lang.String s)<T extends SignatureService>
TwithSigningAlgorithm(java.lang.String s)-
Methods inherited from class com.adaptris.aws.kms.AWSKMSServiceImpl
awsClient, closeService, getConnection, getKeyId, initService, prepare, setConnection, setKeyId, start, stop, withConnection, withKeyId
-
Methods inherited from class com.adaptris.core.ServiceImp
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setUniqueId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adaptris.core.AdaptrisComponent
getUniqueId
-
Methods inherited from interface com.adaptris.core.ComponentLifecycle
close, init
-
Methods inherited from interface com.adaptris.core.MessageEventGenerator
createName, createQualifier, isTrackingEndpoint
-
Methods inherited from interface com.adaptris.core.Service
continueOnFailure, doService, isBranching, setUniqueId
-
Methods inherited from interface com.adaptris.core.StateManagedComponent
changeState, requestClose, requestInit, requestStart, requestStop, retrieveComponentState
-
-
-
-
Method Detail
-
withMessageType
public <T extends SignatureService> T withMessageType(java.lang.String s)
-
withSigningAlgorithm
public <T extends SignatureService> T withSigningAlgorithm(java.lang.String s)
-
signingAlgorithm
public com.amazonaws.services.kms.model.SigningAlgorithmSpec signingAlgorithm(AdaptrisMessage msg)
-
messageType
public com.amazonaws.services.kms.model.MessageType messageType(AdaptrisMessage msg)
-
extendedLogging
protected boolean extendedLogging()
-
getSigningAlgorithm
public java.lang.String getSigningAlgorithm()
Specify the signing algorithm to use for this operation.No validation is done on the value, other than to check that it's a support algorithm via
SigningAlgorithmSpec.fromValue(String). Choose an algorithm that is compatible with the type and size of the specified asymmetric CMK. The default isRSASSA_PKCS1_V1_5_SHA_256if not specified.
-
setSigningAlgorithm
public void setSigningAlgorithm(java.lang.String signingAlgorithm)
Specify the signing algorithm to use for this operation.No validation is done on the value, other than to check that it's a support algorithm via
SigningAlgorithmSpec.fromValue(String). Choose an algorithm that is compatible with the type and size of the specified asymmetric CMK. The default isRSASSA_PKCS1_V1_5_SHA_256if not specified.
-
getMessageType
public java.lang.String getMessageType()
Specify the message type for this operation.No validation is done on the value other than to check that it's supported via
MessageType#fromValue(String). The default isRAWif not specified.
-
setMessageType
public void setMessageType(java.lang.String messageType)
Specify the message type for this operation.No validation is done on the value other than to check that it's supported via
MessageType#fromValue(String). The default isRAWif not specified.
-
getExtendedLogging
public java.lang.Boolean getExtendedLogging()
-
setExtendedLogging
public void setExtendedLogging(java.lang.Boolean extendedLogging)
-
-