Modifier and Type | Field and Description |
---|---|
private transient int | |
private static final long | |
private final CertPath | signerCertPath
The signer's certificate path. |
private final Timestamp | timestamp
The signature timestamp. |
Access | Constructor and Description |
---|---|
public | CodeSigner(CertPath
The signer's certificate path.
It must not be signerCertPath, Timestamp null .A signature timestamp.
If timestamp)null then no timestamp was generated
for the signature.Constructs a |
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: true if the objects are considered equal,
false otherwise.the object to test for equality with this object. obj)Overrides java. Tests for equality between the specified object and this code signer. |
public CertPath | |
public Timestamp | |
public int | Returns: the hash code value for this code signerOverrides java. Returns the hash code value for this code signer. |
private void | readObject(ObjectInputStream
the ois)ObjectInputStream from which data is readRestores the state of this object from the stream, and explicitly resets hash code value to -1. |
public String | Returns: A string comprising the signer's certificate and a timestamp, if present.Overrides java. Returns a string describing this code signer. |
myhash | back to summary |
---|---|
private transient int myhash |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID
|
signerCertPath | back to summary |
---|---|
private final CertPath signerCertPath The signer's certificate path. |
timestamp | back to summary |
---|---|
private final Timestamp timestamp The signature timestamp. |
CodeSigner | back to summary |
---|---|
public CodeSigner(CertPath signerCertPath, Timestamp timestamp) Constructs a
|
equals | back to summary |
---|---|
public boolean equals(Object obj) Overrides java. 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. |
getSignerCertPath | back to summary |
---|---|
public CertPath getSignerCertPath() Returns the signer's certificate path.
|
getTimestamp | back to summary |
---|---|
public Timestamp getTimestamp() Returns the signature timestamp.
|
hashCode | back to summary |
---|---|
public int hashCode() Overrides java. 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.
|
readObject | back to summary |
---|---|
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException Restores the state of this object from the stream, and explicitly resets hash code value to -1.
|
toString | back to summary |
---|---|
public String toString() Overrides java. Returns a string describing this code signer.
|