Generate the .RSA


#1

How Can I create the .RSA, How it is generated?


#2

More details please?


#3

I get!

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);
cms.ComputeSignature(signer);
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”


#4

The index is signed by jarsigner. If on Debian, you can get that by installing openjdk.


#5

The signature on index-v1.jar is a totally plain Java JAR Signature.