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.X509EncodedKeySpec

Synopsis

This class represents the X509 encoding of a public key. It may also be used for private keys, although the PKCS#8 encoding is typically used for those keys.

Class Definition

public class java.security.spec.X509EncodedKeySpec
	extends java.security.spec.EncodedKeySpec {

	// Constructors
	public X509EncodedKeySpec(byte[]);

	// Instance Methods
	public byte[] getEncoded();
	public final String getFormat();
}

See also:

EncodedKeySpec, PKCS8EncodedKeySpec

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