Name
Class java.security.spec.PKCS8EncodedKeySpec
Synopsis
This class represents the PKCS#8 encoding of a private key; the key is encoded in DER format. This is the class that is typically used when dealing with DSA private keys in a key factory.
Class Definition
public class java.security.spec.PKCS8EncodedKeySpec extends java.security.spec.EncodedKeySpec { // Constructors public PKCS8EncodedKeySpec(byte[]); // Instance Methods public byte[] getEncoded(); public final String getFormat(); }
See also:
EncodedKeySpec
, X509EncodedKeySpec
Get Java Security 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.