Class RsaHeaderSignatureProcessor
java.lang.Object
org.eclipse.packager.rpm.signature.RsaHeaderSignatureProcessor
- All Implemented Interfaces:
SignatureProcessor
An RSA signature processor for the header section only.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionRsaHeaderSignatureProcessor(org.bouncycastle.openpgp.PGPPrivateKey privateKey) protectedRsaHeaderSignatureProcessor(org.bouncycastle.openpgp.PGPPrivateKey privateKey, int hashAlgorithm) RsaHeaderSignatureProcessor(org.bouncycastle.openpgp.PGPPrivateKey privateKey, HashAlgorithm hashAlgorithm) -
Method Summary
Modifier and TypeMethodDescriptionvoidfeedHeader(ByteBuffer header) voidfeedPayloadData(ByteBuffer data) voidfinish(Header<RpmSignatureTag> signature) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.packager.rpm.signature.SignatureProcessor
init
-
Constructor Details
-
RsaHeaderSignatureProcessor
protected RsaHeaderSignatureProcessor(org.bouncycastle.openpgp.PGPPrivateKey privateKey, int hashAlgorithm) -
RsaHeaderSignatureProcessor
public RsaHeaderSignatureProcessor(org.bouncycastle.openpgp.PGPPrivateKey privateKey, HashAlgorithm hashAlgorithm) -
RsaHeaderSignatureProcessor
public RsaHeaderSignatureProcessor(org.bouncycastle.openpgp.PGPPrivateKey privateKey)
-
-
Method Details
-
feedHeader
- Specified by:
feedHeaderin interfaceSignatureProcessor
-
feedPayloadData
- Specified by:
feedPayloadDatain interfaceSignatureProcessor
-
finish
- Specified by:
finishin interfaceSignatureProcessor
-