Name
EncodedKeySpec
Synopsis
This abstract class represents a public or private key in an encoded format. It serves as the superclass for encoding-specific classes.
Figure 14-93. java.security.spec.EncodedKeySpec
public abstract class EncodedKeySpec implements KeySpec { // Public Constructors public EncodedKeySpec(byte[ ] encodedKey); // Public Instance Methods public byte[ ] getEncoded( ); public abstract String getFormat( ); }
Subclasses
PKCS8EncodedKeySpec
,
X509EncodedKeySpec
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.