Java Platform 1.2
Interface PrivateKey

All Known Subinterfaces:
DSAPrivateKey, RSAPrivateCrtKey, RSAPrivateKey

public abstract 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 class
Fields inherited from class
Methods inherited from interface
getAlgorithm, getEncoded, getFormat

Field Detail


public static final long serialVersionUID

Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.