Package com.googlecode.d2j.signapk
Class SunJarSignImpl
- java.lang.Object
-
- com.googlecode.d2j.signapk.AbstractJarSign
-
- com.googlecode.d2j.signapk.SunJarSignImpl
-
public class SunJarSignImpl extends AbstractJarSign
-
-
Field Summary
Fields Modifier and Type Field Description protected java.security.cert.X509Certificatecert-
Fields inherited from class com.googlecode.d2j.signapk.AbstractJarSign
digestAlg, privateKey, signAlg
-
-
Constructor Summary
Constructors Constructor Description SunJarSignImpl(java.security.cert.X509Certificate cert, java.security.PrivateKey privateKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidwriteSignatureBlock(byte[] signature, java.io.OutputStream out)Write a .RSA file with a digital signature.-
Methods inherited from class com.googlecode.d2j.signapk.AbstractJarSign
encodeBase64, sign
-
-
-
-
Method Detail
-
writeSignatureBlock
protected void writeSignatureBlock(byte[] signature, java.io.OutputStream out) throws java.io.IOExceptionWrite a .RSA file with a digital signature.- Specified by:
writeSignatureBlockin classAbstractJarSign- Throws:
java.io.IOException
-
-