public interface IMacContainerLocator
AbstractMacIntegrityProtector container location.
Expected to be used in DIContainer.| Modifier and Type | Method and Description |
|---|---|
AbstractMacIntegrityProtector |
createMacIntegrityProtector(PdfDocument document,
MacProperties macProperties)
Creates
AbstractMacIntegrityProtector from explicitly provided MAC properties. |
AbstractMacIntegrityProtector |
createMacIntegrityProtector(PdfDocument document,
PdfDictionary authDictionary)
Creates
AbstractMacIntegrityProtector from already existing AuthCode dictionary. |
void |
handleMacValidationError(MacValidationException exception)
Handles MAC validation error.
|
boolean |
isMacContainerLocated()
Indicates, if MAC container was already located.
|
void |
locateMacContainer(AbstractMacIntegrityProtector macIntegrityProtector)
Locates
AbstractMacIntegrityProtector container. |
void locateMacContainer(AbstractMacIntegrityProtector macIntegrityProtector)
AbstractMacIntegrityProtector container.macIntegrityProtector - AbstractMacIntegrityProtector container to be locatedboolean isMacContainerLocated()
true if MAC container was already located, false otherwiseAbstractMacIntegrityProtector createMacIntegrityProtector(PdfDocument document, MacProperties macProperties)
AbstractMacIntegrityProtector from explicitly provided MAC properties.document - PdfDocument for which MAC container shall be createdmacProperties - MacProperties to be used for MAC container creationAbstractMacIntegrityProtector which specific implementation depends on interface implementation.AbstractMacIntegrityProtector createMacIntegrityProtector(PdfDocument document, PdfDictionary authDictionary)
AbstractMacIntegrityProtector from already existing AuthCode dictionary.document - PdfDocument for which MAC container shall be createdauthDictionary - AuthCode PdfDictionary which contains MAC related informationAbstractMacIntegrityProtector which specific implementation depends on interface implementation.void handleMacValidationError(MacValidationException exception)
exception - MacValidationException to handle.Copyright © 1998–2025 Apryse Group NV. All rights reserved.