JavaTM 2 Platform
Standard Edition
Interface PrivateKey

All Known Subinterfaces:
DSAPrivateKey, RSAPrivateCrtKey, RSAPrivateKey

public interface PrivateKey
extends Key

A private key. This interface contains no methods or constants. It merely serves to group (and provide type safety for) all private key interfaces. Note: The specialized private key interfaces extend this interface. See, for example, the DSAPrivateKey interface in

See Also:
Key, PublicKey, Certificate, Signature.initVerify(, DSAPrivateKey, RSAPrivateKey, RSAPrivateCrtKey

Field Summary
static long serialVersionUID
Fields inherited from interface
Methods inherited from interface
getAlgorithm, getEncoded, getFormat

Field Detail


public static final long serialVersionUID

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.