O'Reilly logo

Java Security by Scott Oaks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required