java.lang.Object | |
↳ | java.security.CodeSigner |
CodeSigner
represents a signer of code. Instances are immutable.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new instance of
CodeSigner .
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Compares the specified object with this
CodeSigner for equality.
| |||||||||||
Returns the certificate path associated with this
CodeSigner .
| |||||||||||
Returns the time stamp associated with this
CodeSigner .
| |||||||||||
Returns the hash code value for this
CodeSigner .
| |||||||||||
Returns a string containing a concise, human-readable description of the
this
CodeSigner including its first certificate and its time
stamp, if present.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructs a new instance of CodeSigner
.
Parameters | |
---|---|
signerCertPath |
CertPath :
the certificate path associated with this code signer. |
timestamp |
Timestamp :
the time stamp associated with this code signer, maybe null . |
Throws | |
---|---|
NullPointerException |
if signerCertPath is null .
|
Compares the specified object with this CodeSigner
for equality.
Returns true
if the specified object is also an instance of
CodeSigner
, the two CodeSigner
encapsulate the same
certificate path and the same time stamp, if present in both.
Parameters | |
---|---|
obj |
Object :
object to be compared for equality with this CodeSigner . |
Returns | |
---|---|
boolean |
true if the specified object is equal to this CodeSigner , otherwise false .
|
Returns the certificate path associated with this CodeSigner
.
Returns | |
---|---|
CertPath |
the certificate path associated with this CodeSigner .
|
Returns the time stamp associated with this CodeSigner
.
Returns | |
---|---|
Timestamp |
the time stamp associated with this CodeSigner , maybe
null .
|
Returns the hash code value for this CodeSigner
. Returns the same
hash code for CodeSigner
s that are equal to each other as
required by the general contract of hashCode()
.
Returns | |
---|---|
int |
the hash code value for this CodeSigner . |
See also:
Returns a string containing a concise, human-readable description of the
this CodeSigner
including its first certificate and its time
stamp, if present.
Returns | |
---|---|
String |
a printable representation for this CodeSigner .
|