| |
|
| java.lang.Object java.security.CodeSigner
CodeSigner | final public class CodeSigner implements Serializable(Code) | | This class encapsulates information about a code signer.
It is immutable.
since: 1.5 version: 1.11, 05/05/07 author: Vincent Ryan |
Constructor Summary | |
public | CodeSigner(CertPath signerCertPath, Timestamp timestamp) Constructs a CodeSigner object.
Parameters: signerCertPath - The signer's certificate path. |
CodeSigner | public CodeSigner(CertPath signerCertPath, Timestamp timestamp)(Code) | | Constructs a CodeSigner object.
Parameters: signerCertPath - The signer's certificate path. It must not be null . Parameters: timestamp - A signature timestamp. If null then no timestamp was generatedfor the signature. throws: NullPointerException - if signerCertPath is null . |
equals | public boolean equals(Object obj)(Code) | | Tests for equality between the specified object and this
code signer. Two code signers are considered equal if their
signer certificate paths are equal and if their timestamps are equal,
if present in both.
Parameters: obj - the object to test for equality with this object. true if the objects are considered equal, false otherwise. |
getSignerCertPath | public CertPath getSignerCertPath()(Code) | | Returns the signer's certificate path.
A certificate path. |
getTimestamp | public Timestamp getTimestamp()(Code) | | Returns the signature timestamp.
The timestamp or null if none is present. |
hashCode | public int hashCode()(Code) | | Returns the hash code value for this code signer.
The hash code is generated using the signer's certificate path and the
timestamp, if present.
a hash code value for this code signer. |
toString | public String toString()(Code) | | Returns a string describing this code signer.
A string comprising the signer's certificate and a timestamp,if present. |
|
|
|