Class au.net.aba.crypto.spec.AsciiEncodedKeySpec
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.
-
ident
-
-
AsciiEncodedKeySpec(String)
- Create the KeySpec from the given string.
-
getFormat()
- Returns the name of the encoding format used by this
key specification.
ident
public final static String ident
AsciiEncodedKeySpec
public AsciiEncodedKeySpec(String key)
- Create the KeySpec from the given string.
getFormat
public String getFormat()
- Returns the name of the encoding format used by this
key specification.
- Overrides:
- getFormat in class EncodedKeySpec
All Packages Class Hierarchy This Package Previous Next Index