use of org.glassfish.appclient.server.core.jws.servedcontent.StreamedAutoSignedStaticContent in project Payara by payara.
the class JavaWebStartInfo method createAndAddSignedStaticContentFromMainJAR.
private void createAndAddSignedStaticContentFromMainJAR(final Map<String, StaticContent> content, final URI uriToFile, final URI uriForLookup, final String tokenName) throws FileNotFoundException {
final File unsignedFile = new File(uriToFile);
final StaticContent signedContent = new StreamedAutoSignedStaticContent(unsignedFile, signingAlias, jarSigner, uriForLookup.toASCIIString(), acServerApp.getDescriptor().getName());
recordStaticContent(content, signedContent, uriForLookup, tokenName);
}
Aggregations