Name

CodeSigner

Synopsis

This class encapsulates the certificate path of a code signer and a signed timestamp. Instances are immutable. See CodeSource and java.util.jar.JarEntry.

java.security.CodeSigner

Figure 14-5. java.security.CodeSigner

public final class CodeSigner implements Serializable {
// Public Constructors
     public CodeSigner(java.security.cert.CertPath signerCertPath, 
        Timestamp timestamp);  
// Public Instance Methods
     public java.security.cert.CertPath getSignerCertPath( );  
     public Timestamp getTimestamp( );  
// Public Methods Overriding Object
     public boolean equals(Object obj);  
     public int hashCode( );  
     public String toString( );  
}

Passed To

CodeSource.CodeSource( )

Returned By

CodeSource.getCodeSigners( ), java.util.jar.JarEntry.getCodeSigners( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.