モジュール java.base
パッケージ java.security.spec

クラスPKCS8EncodedKeySpec

java.lang.Object
java.security.spec.EncodedKeySpec
java.security.spec.PKCS8EncodedKeySpec
すべての実装されたインタフェース:
KeySpec

public class PKCS8EncodedKeySpec extends EncodedKeySpec
このクラスは、ASN.1 PrivateKeyInfoで指定された形式に従ってエンコードされた、非公開キーのASN.1でのエンコーディングを表します。 PrivateKeyInfoの構文は次のとおりPKCS#8標準で定義します。
 PrivateKeyInfo ::= SEQUENCE {
   version Version,
   privateKeyAlgorithm PrivateKeyAlgorithmIdentifier,
   privateKey PrivateKey,
   attributes [0] IMPLICIT Attributes OPTIONAL }

 Version ::= INTEGER

 PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier

 PrivateKey ::= OCTET STRING

 Attributes ::= SET OF Attribute
 
導入されたバージョン:
1.2
関連項目: