public class X509EncodedKeySpec extends EncodedKeySpec
SubjectPublicKeyInfo。的
SubjectPublicKeyInfo语法在X.509标准定义为:
subjectpublickeyinfo::=序列{算法algorithmidentifier,subjectpublickey比特串}
Key,
KeyFactory,
KeySpec,
EncodedKeySpec,
PKCS8EncodedKeySpec
| Constructor and Description |
|---|
X509EncodedKeySpec(byte[] encodedKey)
创建具有给定编码关键新x509encodedkeyspec。
|
public X509EncodedKeySpec(byte[] encodedKey)
encodedKey的关键,这被认为是根据X.509标准编码。数组的内容被复制以防止后续的修改。
NullPointerException -如果
encodedKey是空的。
public byte[] getEncoded()
getEncoded 方法重写,继承类
EncodedKeySpec
public final String getFormat()
getFormat 方法重写,继承类
EncodedKeySpec
"X.509"。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.