FileDocCategorySizeDatePackage
Key.javaAPI DocAndroid 1.5 API2224Wed May 06 22:41:06 BST 2009java.security

Key

public interface Key implements Serializable
{@code Key} is the common interface for all keys.
see
PublicKey
see
PrivateKey
since
Android 1.0

Fields Summary
public static final long
serialVersionUID
The {@code serialVersionUID} to be compatible with JDK1.1.
Constructors Summary
Methods Summary
public java.lang.StringgetAlgorithm()
Returns the name of the algorithm of this key. If the algorithm is unknown, {@code null} is returned.

return
the name of the algorithm of this key or {@code null} if the algorithm is unknown.
since
Android 1.0

public byte[]getEncoded()
Returns the encoded form of this key, or {@code null} if encoding is not supported by this key.

return
the encoded form of this key, or {@code null} if encoding is not supported by this key.
since
Android 1.0

public java.lang.StringgetFormat()
Returns the name of the format used to encode this key, or {@code null} if it can not be encoded.

return
the name of the format used to encode this key, or {@code null} if it can not be encoded.
since
Android 1.0