
public class WithSignature extends WithDigest implements ArchiveConfigurationPlugin, ManifestProcessor, ArchiveResourceSource, ArchiveResourceListener
WithSignature archive extension
ArchiveResourceSource.ResourceSourceLifecycledigester, manifest| Modifier and Type | Method and Description |
|---|---|
void |
added(ArchiveResource resource) |
WithSignature |
alias(String alias)
The alias for the key in store
|
void |
attach(ArchiveRegistrar core) |
WithSignature |
createdBy(String author)
createdBy.
|
WithSignature |
digestedBy(MessageDigest digest)
Adds digest entries to the manifest.
|
WithSignature |
digestedBy(StandardDigestAlgorithms hash)
Adds digest entries to the manifest.
|
Stream<ArchiveResource> |
drain(ArchiveResourceSource.ResourceSourceLifecycle stage) |
WithSignature |
password(char[] password)
The password for the key in store
|
WithSignature |
signatureAlgorithm(StandardSignatureAlgorithms algorithm)
signatureAlgorithm.
|
WithSignature |
signatureAlgorithm(String algorithm)
signatureAlgorithm.
|
WithSignature |
signatureFileName(String signatureFilename)
Defaults to if not set
|
WithSignature |
store(KeyStore store)
The store containing the key and cert(s)
|
static WithSignature |
withSignature()
withSignature.
|
base64Digest, process, withDigestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocesswrappublic static WithSignature withSignature()
withSignature.
WithSignature object.public void added(ArchiveResource resource)
added in interface ArchiveResourceListeneradded in class WithDigestpublic Stream<ArchiveResource> drain(ArchiveResourceSource.ResourceSourceLifecycle stage)
drain in interface ArchiveResourceSourcepublic void attach(ArchiveRegistrar core)
attach in interface ArchiveConfigurationPluginattach in class WithDigestpublic WithSignature digestedBy(StandardDigestAlgorithms hash)
WithDigestdigestedBy in class WithDigesthash - the algorithm namepublic WithSignature digestedBy(MessageDigest digest)
WithDigestdigestedBy in class WithDigestdigest - the hash algorithmpublic WithSignature store(KeyStore store)
store - the key storepublic WithSignature alias(String alias)
alias - by which the key shall be knownpublic WithSignature password(char[] password)
password - an array of char objects.public WithSignature signatureFileName(String signatureFilename)
signatureFilename - a String object.WithSignature object.public WithSignature signatureAlgorithm(StandardSignatureAlgorithms algorithm)
signatureAlgorithm.
algorithm - a String object.WithSignature object.public WithSignature signatureAlgorithm(String algorithm)
signatureAlgorithm.
algorithm - a String object.WithSignature object.public WithSignature createdBy(String author)
createdBy.
author - a String object.WithSignature object.Copyright © 2018 earcam. All rights reserved.