|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object extended by java.security.CodeSigner
public final class CodeSigner
This class encapsulates information about a code signer. It is immutable.
Constructor Summary | |
---|---|
CodeSigner(CertPath signerCertPath,
Timestamp timestamp)
Constructs a CodeSigner object. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CodeSigner(CertPath signerCertPath, Timestamp timestamp)
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
.Method Detail |
---|
public CertPath getSignerCertPath()
public Timestamp getTimestamp()
null
if none is present.public int hashCode()
Object.equals(java.lang.Object)
,
Hashtable
public boolean equals(Object obj)
obj
- the object to test for equality with this object.
Object.hashCode()
,
Hashtable
public String toString()
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.