搜档网
当前位置:搜档网 › EncodedKeySpec

EncodedKeySpec

EncodedKeySpec (Java 2 Platform SE 5.0)
function windowTitle()
{
parent.document.title="EncodedKeySpec (Java 2 Platform SE 5.0)";
}

概述 
软件包 
 类 
使用 
树 
已过时 
索引 
帮助 

JavaTM 2 PlatformStandard Ed. 5.0
 上一个类 
 下一个类
框架  
 无框架  
 
!--
if(window==top) {
document.writeln('所有类');
}
//--
所有类
摘要: 嵌套 | 字段 | 构造方法 | 方法
详细信息: 字段 | 构造方法 | 方法
java.security.spec
类 EncodedKeySpec
https://www.sodocs.net/doc/5214223079.html,ng.Object
java.security.spec.EncodedKeySpec
所有已实现的接口: KeySpec
直接已知子类: PKCS8EncodedKeySpec, X509EncodedKeySpec
public abstract class EncodedKeySpecextends Objectimplements KeySpec
此类用编码格式表示公用密钥或专用密钥。
从以下版本开始:
1.2
另请参见:Key,
KeyFactory,
KeySpec,
X509EncodedKeySpec,
PKCS8EncodedKeySpec
构造方法摘要
EncodedKeySpec(byte[] encodedKey)
          根据给定的编码密钥创建一个新的 EncodedKeySpec。
 
方法摘要
 byte[]
getEncoded()
          返回编码密钥。
abstract  String
getFormat()
          返回与此密钥规范关联的编码格式的名称。
 
从类 https://www.sodocs.net/doc/5214223079.html,ng.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
构造方法详细信息
EncodedKeySpec
public EncodedKeySpec(byte[] encodedKey)
根据给定的编码密钥创建一个新的 EncodedKeySpec。
参数:encodedKey - 编码密钥。复制数组的内容,以防随后进行修改。
方法详细信息
getEncoded
public byte[] getEncoded()
返回编码密钥。
返回:编码密钥。每次调用此方法时,都返回一个新数组。
getFormat
public abstract String getFormat()
返回与此密钥规范关联的编码格式的名称。
如果可以将密钥的不透明表示形式(请参见 Key)转换(请参见 KeyFactory)为此密钥的规范(或它的子类),则对不透明密钥调用 getFormat 方法会返回与此密钥规范的 getFormat 方法相同的值。
返回:该编码格式的字符串表示形式。

概述 
软件包 
 类 
使用 
树 
已过时 
索引 
帮助 

JavaTM 2 PlatformStandard Ed. 5.0
 上一个类 
 下一个类
框架  
 无框架 &nbs

p;
 
!--
if(window==top) {
document.writeln('所有类');
}
//--
所有类
摘要: 嵌套 | 字段 | 构造方法 | 方法
详细信息: 字段 | 构造方法 | 方法
提交错误或意见有关更多的 API 参考资料和开发人员文档,请参阅 Java 2 SDK SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。 版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。


相关主题