CodeSigner[] lookup
Ales Justin
ales.justin at gmail.com
Mon Oct 10 05:43:50 PDT 2011
I'm looking on how to get similar code out of new FS / NIO API.
Does ZipFS support have something?
e.g. in the worst case an exact cast to get some impl details out
Thanks for any info.
JarEntry::getCodeSigners()
/**
* Returns the <code>CodeSigner</code> objects for this entry, or
* <code>null</code> if none. This method can only be called once
* the <code>JarEntry</code> has been completely verified by reading
* from the entry input stream until the end of the stream has been
* reached. Otherwise, this method will return <code>null</code>.
*
* <p>The returned array comprises all the code signers that have signed
* this entry.
*
* @return the <code>CodeSigner</code> objects for this entry, or
* <code>null</code> if none.
*
* @since 1.5
*/
public CodeSigner[] getCodeSigners() {
return signers == null ? null : signers.clone();
}
More information about the nio-discuss
mailing list