All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class au.net.aba.crypto.spec.AsciiEncodedKeySpec

java.lang.Object
   |
   +----au.net.aba.security.spec.EncodedKeySpec
           |
           +----au.net.aba.crypto.spec.AsciiEncodedKeySpec

public class AsciiEncodedKeySpec
extends EncodedKeySpec
A key in an ASCII encoded format. ASCII encoded key specs are expected to be an array of UTF8 characters representing a hexadecimal number, or a set of hexadecimal numbers. Specs made of more than 1 number, such as an RSAPrivateKey have the numbers separated by '.' characters, and the numbers are given in the same order as the equivalent key spec class; e.g an RSAPrivate key is the string "modulus.privateExponent" where modulus and privateExponent are both the hex representations of big numbers.


Variable Index

 o ident

Constructor Index

 o AsciiEncodedKeySpec(String)
Create the KeySpec from the given string.

Method Index

 o getFormat()
Returns the name of the encoding format used by this key specification.

Variables

 o ident
 public static final String ident

Constructors

 o AsciiEncodedKeySpec
 public AsciiEncodedKeySpec(String key)
Create the KeySpec from the given string.

Methods

 o getFormat
 public String getFormat()
Returns the name of the encoding format used by this key specification.

Returns:
the string "ASCII"
Overrides:
getFormat in class EncodedKeySpec

All Packages  Class Hierarchy  This Package  Previous  Next  Index