Android
java.security
public interface

java.security.Key

java.security.Key Serializable

Summary

Constants

      Value  
long  serialVersionUID    6603384152749567654  0x5ba3eee69414eea6 

Public Methods

          String  getAlgorithm()
Returns the name of the algorithm that this key will work with.
          byte[]  getEncoded()
Returns the encoded form of the receiver.
          String  getFormat()
Returns the name of the format used to encode the key, or null if it can not be encoded.

Details

Constants

public static final long serialVersionUID

Constant Value: 6603384152749567654 (0x5ba3eee69414eea6)

Public Methods

public String getAlgorithm()

Returns the name of the algorithm that this key will work with. If the algorithm is unknown, it returns null.

Returns

  • String the receiver's algorithm

public byte[] getEncoded()

Returns the encoded form of the receiver.

Returns

  • byte[] the encoded form of the receiver

public String getFormat()

Returns the name of the format used to encode the key, or null if it can not be encoded.

Returns

  • String the receiver's encoding format
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48