Module java.base

Class X509EncodedKeySpec

java.lang.Object
java.security.spec.EncodedKeySpec
java.security.spec.X509EncodedKeySpec
All Implemented Interfaces:
KeySpec

public class X509EncodedKeySpec extends EncodedKeySpec
This class represents the ASN.1 encoding of a public key, encoded according to the ASN.1 type SubjectPublicKeyInfo. The SubjectPublicKeyInfo syntax is defined in the X.509 standard as follows:
 SubjectPublicKeyInfo ::= SEQUENCE {
   algorithm AlgorithmIdentifier,
   subjectPublicKey BIT STRING }
 
Since:
1.2
See Also: