public class X509EncodedKeySpec extends EncodedKeySpec
SubjectPublicKeyInfoで指定された形式に従ってエンコードされた、公開キーのASN.1でのエンコーディングを表します。 SubjectPublicKeyInfoの構文は次のとおりX.509標準で定義します。 
 
 SubjectPublicKeyInfo ::= SEQUENCE {
   algorithm AlgorithmIdentifier,
   subjectPublicKey BIT STRING }
 Key, KeyFactory, KeySpec, EncodedKeySpec, PKCS8EncodedKeySpec| コンストラクタ | 説明 | 
|---|---|
| X509EncodedKeySpec(byte[] encodedKey) | 指定されたエンコードされたキーを使って新しいX509EncodedKeySpecを作成します。 | 
public X509EncodedKeySpec(byte[] encodedKey)
encodedKey - キー。X.509標準に従ってエンコードされているものとする。 この配列の内容は、後続の変更に影響されないようにコピーされる。 NullPointerException - encodedKeyがnullである場合。public byte[] getEncoded()
getEncoded、クラスEncodedKeySpecpublic final String getFormat()
getFormat、クラスEncodedKeySpec"X.509"。 バグまたは機能を送信 
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。 
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved.  Use is subject to license terms.  Documentation Redistribution Policyも参照してください。