| 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.security.CodeSigner
public final class CodeSigner
此类封装关于代码签名者的信息。它是不可变的。
| 构造方法摘要 | |
|---|---|
CodeSigner(CertPath signerCertPath,
           Timestamp timestamp)
构造 CodeSigner 对象。  | 
|
| 方法摘要 | |
|---|---|
 boolean | 
equals(Object obj)
测试指定对象与此代码签名者之间是否相等。  | 
 CertPath | 
getSignerCertPath()
返回签名者的证书路径。  | 
 Timestamp | 
getTimestamp()
返回签名时间戳。  | 
 int | 
hashCode()
返回此代码签名者的哈希码值。  | 
 String | 
toString()
返回描述此代码签名者的字符串。  | 
| 从类 java.lang.Object 继承的方法 | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| 构造方法详细信息 | 
|---|
public CodeSigner(CertPath signerCertPath, Timestamp timestamp)
signerCertPath - 签名者的证书路径。它一定不能为 null。timestamp - 签名时间戳。如果为 null,则不为签名生成任何时间戳。
NullPointerException - 如果 signerCertPath 为 null。| 方法详细信息 | 
|---|
public CertPath getSignerCertPath()
public Timestamp getTimestamp()
null。public int hashCode()
Object.equals(java.lang.Object), 
Hashtablepublic boolean equals(Object obj)
obj - 要与此对象进行相等性测试的对象。
Object.hashCode(), 
Hashtablepublic String toString()
  | 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。