May 1998
Intermediate to advanced
469 pages
14h 57m
English
Class java.security.spec.EncodedKeySpec
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 upon the algorithm used to generate the key.
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();
}
KeyFactory, KeySpec, PKCS8EncodedKeySpec, X509EncodedKeySpec