How Can I create the .RSA, How it is generated?
More details please?
I used the openssl to extract my private key and after I run this code:
ContentInfo contentInfo = new ContentInfo(fileContent);
SignedCms cms = new SignedCms(contentInfo, true);
CmsSigner signer = new CmsSigner(cert);
byte pkcs7 = cms.Encode();
I built a new F-DROID server in c# and this code is to generate the index-v1.jar like “fdroid update -c”
The index is signed by
jarsigner. If on Debian, you can get that by installing openjdk.
The signature on index-v1.jar is a totally plain Java JAR Signature.