public final class CodeSigner extends Object implements Serializable
Constructor and Description |
---|
CodeSigner(CertPath signerCertPath,
Timestamp timestamp)
Constructs a CodeSigner object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Tests for equality between the specified object and this
code signer.
|
CertPath |
getSignerCertPath()
Returns the signer's certificate path.
|
Timestamp |
getTimestamp()
Returns the signature timestamp.
|
int |
hashCode()
Returns the hash code value for this code signer.
|
String |
toString()
Returns a string describing this code signer.
|
public CodeSigner(CertPath signerCertPath, Timestamp timestamp)
NullPointerException
- if signerCertPath
is
null
.signerCertPath
- The signer's certificate path.
It must not be null
.timestamp
- A signature timestamp.
If null
then no timestamp was generated
for the signature.public CertPath getSignerCertPath()
public Timestamp getTimestamp()
null
if none is present.public int hashCode()
hashCode
in class Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
public boolean equals(Object obj)
equals
in class Object
obj
- the object to test for equality with this object.Object.hashCode()
,
HashMap
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.