Class RsaSignatureProcessor
java.lang.Object
org.eclipse.packager.rpm.signature.RsaSignatureProcessor
- All Implemented Interfaces:
SignatureProcessor
An RSA signature processor for both header and payload.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionRsaSignatureProcessor(org.bouncycastle.openpgp.PGPPrivateKey privateKey) protectedRsaSignatureProcessor(org.bouncycastle.openpgp.PGPPrivateKey privateKey, int hashAlgorithm) RsaSignatureProcessor(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
-
RsaSignatureProcessor
protected RsaSignatureProcessor(org.bouncycastle.openpgp.PGPPrivateKey privateKey, int hashAlgorithm) -
RsaSignatureProcessor
public RsaSignatureProcessor(org.bouncycastle.openpgp.PGPPrivateKey privateKey, HashAlgorithm hashAlgorithm) -
RsaSignatureProcessor
public RsaSignatureProcessor(org.bouncycastle.openpgp.PGPPrivateKey privateKey)
-
-
Method Details
-
feedHeader
- Specified by:
feedHeaderin interfaceSignatureProcessor
-
feedPayloadData
- Specified by:
feedPayloadDatain interfaceSignatureProcessor
-
finish
- Specified by:
finishin interfaceSignatureProcessor
-