com.ibm.security12.sun.security.util
Class SignatureFile
java.lang.Object
|
+--com.ibm.security12.sun.security.util.SignatureFile
- public class SignatureFile
- extends Object
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SignatureFile
public SignatureFile(MessageDigest[] digests,
Manifest mf,
ManifestDigester md,
String baseName,
boolean signManifest)
write
public void write(OutputStream out)
throws IOException
- Writes the SignatureFile to the specified OutputStream.
- Parameters:
out
- the output stream- Throws:
- IOException - if an I/O error has occurred
getMetaName
public String getMetaName()
- get .SF file name
getBaseName
public String getBaseName()
- get base file name
generateBlock
public SignatureFile.Block generateBlock(PrivateKey privateKey,
X509Certificate[] certChain,
boolean externalSF)
throws NoSuchAlgorithmException,
InvalidKeyException,
IOException,
SignatureException