Name
Class java.security.spec.EncodedKeySpec
Description
This class is used to translate between keys and their external encoded format. The encoded format is always simply a series of bytes, but the format of the encoding of the key information into those bytes may vary depending on the algorithm used to generate the key.
Class Definition
public abstract class java.security.spec.EncodedKeySpec extends java.lang.Object implements java.security.spec.KeySpec { // Constructors public EncodedKeySpec(); // Instance Methods public abstract byte[] getEncoded(); public abstract String getFormat(); }
See Also
KeyFactory
, KeySpec
,
PKCS8EncodedKeySpec
,
X509EncodedKeySpec
Get Java Cryptography 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.