JavaTM 2 Platform
Standard Ed. 5.0

java.security
接口 PrivateKey

所有超级接口:
Key, Serializable
所有已知子接口:
DHPrivateKey, DSAPrivateKey, ECPrivateKey, RSAMultiPrimePrivateCrtKey, RSAPrivateCrtKey, RSAPrivateKey

public interface PrivateKey
extends Key

私钥。此接口不包含任何方法或常量。它仅用于将所有私钥接口分组(并为其提供类型安全)。 注:特定的私钥接口扩展此接口。请参见(例如)java.security.interfaces 中的 DSAPrivateKey 接口。

另请参见:
Key, PublicKey, Certificate, Signature.initVerify(java.security.PublicKey), DSAPrivateKey, RSAPrivateKey, RSAPrivateCrtKey

字段摘要
static long serialVersionUID
          设置为指示与以前的类版本序列化兼容的类指纹。
 
方法摘要
 
从接口 java.security.Key 继承的方法
getAlgorithm, getEncoded, getFormat
 

字段详细信息

serialVersionUID

static final long serialVersionUID
设置为指示与以前的类版本序列化兼容的类指纹。

另请参见:
常量字段值

JavaTM 2 Platform
Standard Ed. 5.0

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java 2 SDK SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策