Class GpgAgentPasswordLoader
java.lang.Object
org.eclipse.aether.generator.gnupg.loaders.GpgAgentPasswordLoader
- All Implemented Interfaces:
GnupgSignatureArtifactGeneratorFactory.Loader
@Singleton
@Named("agent")
@Priority(10)
public final class GpgAgentPasswordLoader
extends Object
implements GnupgSignatureArtifactGeneratorFactory.Loader
Password loader that uses GnuPG Agent. Is interactive.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionchar[]
loadPassword
(RepositorySystemSession session, byte[] fingerprint) Returns the key password, ornull
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.aether.generator.gnupg.GnupgSignatureArtifactGeneratorFactory.Loader
loadKeyFingerprint, loadKeyRingMaterial
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
GpgAgentPasswordLoader
public GpgAgentPasswordLoader()
-
-
Method Details
-
loadPassword
Description copied from interface:GnupgSignatureArtifactGeneratorFactory.Loader
Returns the key password, ornull
.- Specified by:
loadPassword
in interfaceGnupgSignatureArtifactGeneratorFactory.Loader
- Throws:
IOException
-