public interface SecurityLabelHandler
ESSSecurityLabel
or EquivalentLabels
attribute when detected in a SignerInfo during processing a mutli-layered ESS S/MIME message.Modifier and Type | Method and Description |
---|---|
void |
processESSSecurityLabel(ESSSecurityLabel securityLabel,
SignerInfo[] signerInfos)
Proccesses an ESSSecurityLabel attribute and may process EquivalentLabels attributes.
|
void processESSSecurityLabel(ESSSecurityLabel securityLabel, SignerInfo[] signerInfos) throws SecurityLabelException
This method may be implemented to handle an ESSSecurityLabel
attribute when detected in a SignerInfo during processing
a multi-layered ESS S/MIME message. If an ESSSecurityLabel attribute is included
in one SignerInfo then it must be included in all SignerInfos of the SignedData
object and all these ESSSecurityLabel attributes must be identical. For that
reason all the SignerInfos are supplied to this method, too. This method also
may be implemented to handle EquivalentLabels
attributes
if included in any of the given SignerInfos.
securityLabel
- the ESSSecurityLabel attribute to be processedsignerInfos
- the SignerInfos containing the ESSSecurityLabel attributeSecurityLabelException
- signalizing some problem during processing of the
ESSSecurityLabel attribute