Serializable
public final class CodeSigner extends Object implements Serializable
Constructor | Description |
---|---|
CodeSigner |
Constructs a CodeSigner object. |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals |
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)
CodeSigner
object.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.NullPointerException
- if signerCertPath
is null
.public CertPath getSignerCertPath()
public Timestamp getTimestamp()
null
if none is present.public int hashCode()
public boolean equals(Object obj)
public String toString()
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/security/CodeSigner.html