|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SignaturePropertiesCollector
Interface for the collector of signature properties.
SignaturePropertiesProvider.provideProperties(xades4j.providers.SignaturePropertiesCollector)| Method Summary | |
|---|---|
void |
addCounterSignature(CounterSignatureProperty counterSig)
Adds a CounterSignature unsigned property. |
void |
addOtherSignatureProperty(OtherSignedSignatureProperty otherSignedProp)
Adds a custom signed property. |
void |
addOtherSignatureProperty(OtherUnsignedSignatureProperty otherUnsignedProp)
Adds a custom unsigned property. |
void |
setSignatureProductionPlace(SignatureProductionPlaceProperty sigProdPlace)
Sets the SignatureProductionPlace signed property. |
void |
setSignerRole(SignerRoleProperty signerRole)
Sets the SignerRole signed property. |
void |
setSigningTime(SigningTimeProperty sigTime)
Sets the SigningTime signed property. |
| Method Detail |
|---|
void setSigningTime(SigningTimeProperty sigTime)
SigningTime signed property. This can be set only once.
sigTime - the SigningTime property
NullPointerException - if sigTime is null
PropertyTargetException - if SigningTime is set more than oncevoid setSignatureProductionPlace(SignatureProductionPlaceProperty sigProdPlace)
SignatureProductionPlace signed property. This can be set
only once.
sigProdPlace - the SignatureProductionPlace property
NullPointerException - if sigProdPlace is null
PropertyTargetException - if SignatureProductionPlace is set more than oncevoid setSignerRole(SignerRoleProperty signerRole)
SignerRole signed property. This can be set only once.
signerRole - the SignerRole property.
NullPointerException - if signerRole is null
PropertyTargetException - if SignerRole is set more than oncevoid addCounterSignature(CounterSignatureProperty counterSig)
CounterSignature unsigned property. Multiple counter signatures
can be added.
counterSig - the CounterSignature property
NullPointerException - if counterSig is null
PropertyTargetException - if the property (instance) is already presentvoid addOtherSignatureProperty(OtherSignedSignatureProperty otherSignedProp)
Each custom property needs a corresponding PropertyDataObjectGenerator
which can be supplied through XadesSigningProfile.
otherSignedProp - the custom property
NullPointerException - if otherSignedProp is null
PropertyTargetException - if the property (instance) is already present
IllegalArgumentException - if the property is not properly annotatedvoid addOtherSignatureProperty(OtherUnsignedSignatureProperty otherUnsignedProp)
Each custom property needs a corresponding PropertyDataObjectGenerator
which can be supplied through XadesSigningProfile.
otherUnsignedProp - the custom property
NullPointerException - if otherUnsignedProp is null
PropertyTargetException - if the property (instance) is already present
IllegalArgumentException - if the property is not properly annotated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||