@InputRequirement(value=INPUT_REQUIRED) @Tags(value={"PGP","GPG","OpenPGP","Encryption","Signing","RFC 4880"}) @CapabilityDescription(value="Verify signatures using OpenPGP Public Keys") @SeeAlso(value={DecryptContentPGP.class,EncryptContentPGP.class,SignContentPGP.class}) @WritesAttribute(attribute="pgp.literal.data.filename",description="Filename from Literal Data") @WritesAttribute(attribute="pgp.literal.data.modified",description="Modified Date Time from Literal Data in milliseconds") @WritesAttribute(attribute="pgp.signature.created",description="Signature Creation Time in milliseconds") @WritesAttribute(attribute="pgp.signature.algorithm",description="Signature Algorithm including key and hash algorithm names") @WritesAttribute(attribute="pgp.signature.hash.algorithm.id",description="Signature Hash Algorithm Identifier") @WritesAttribute(attribute="pgp.signature.key.algorithm.id",description="Signature Key Algorithm Identifier") @WritesAttribute(attribute="pgp.signature.key.id",description="Signature Public Key Identifier") @WritesAttribute(attribute="pgp.signature.type.id",description="Signature Type Identifier") @WritesAttribute(attribute="pgp.signature.version",description="Signature Version Number") public class VerifyContentPGP extends AbstractProcessor
| Modifier and Type | Class and Description |
|---|---|
private class |
VerifyContentPGP.VerifyStreamCallback |
| Modifier and Type | Field and Description |
|---|---|
private static int |
BUFFER_SIZE |
private static List<PropertyDescriptor> |
DESCRIPTORS |
static Relationship |
FAILURE |
private static String |
KEY_ID_UNKNOWN |
static PropertyDescriptor |
PUBLIC_KEY_SERVICE |
private static Set<Relationship> |
RELATIONSHIPS |
static Relationship |
SUCCESS |
| Constructor and Description |
|---|
VerifyContentPGP() |
| Modifier and Type | Method and Description |
|---|---|
Set<Relationship> |
getRelationships()
Get Relationships
|
List<PropertyDescriptor> |
getSupportedPropertyDescriptors()
Get Supported Property Descriptors
|
void |
onTrigger(ProcessContext context,
ProcessSession session)
On Trigger verifies signatures found in Flow File contents using configured properties
|
onTriggergetControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTruecustomValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitisStatefulgetPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validatepublic static final Relationship SUCCESS
public static final Relationship FAILURE
public static final PropertyDescriptor PUBLIC_KEY_SERVICE
private static final Set<Relationship> RELATIONSHIPS
private static final List<PropertyDescriptor> DESCRIPTORS
private static final int BUFFER_SIZE
private static final String KEY_ID_UNKNOWN
public Set<Relationship> getRelationships()
getRelationships in interface ProcessorgetRelationships in class AbstractSessionFactoryProcessorpublic final List<PropertyDescriptor> getSupportedPropertyDescriptors()
getSupportedPropertyDescriptors in class AbstractConfigurableComponentpublic void onTrigger(ProcessContext context, ProcessSession session)
onTrigger in class AbstractProcessorcontext - Process Contextsession - Process SessionCopyright © 2022 Apache NiFi Project. All rights reserved.