com.motorola.iden.security
Class Security

java.lang.Object
  |
  +--com.motorola.iden.security.Security

public class Security
extends java.lang.Object

This class centralizes all security properties and common security methods.

MOTOROLA and the Stylized M Logo are registered trademarks of Motorola, Inc. Reg. U.S. Pat. & Tm. Off.
© Copyright 2002 - 2004 Motorola, Inc. All Rights Reserved.

See Also:
[GeneralSecurityException]

Field Summary
static java.lang.String CBC
          Cipher mode CBC
static java.lang.String CFB
          Cipher mode CFB64
static java.lang.String CFB128
          Cipher mode CFB128
static java.lang.String ECB
          Cipher mode ECB
static java.lang.String MOTAES
          Algorithm AES
static java.lang.String MOTARC4
          Algorithm ARC4
static java.lang.String MOTCipher
          Algorithm Type: Cipher
static java.lang.String MOTDES
          Algorithm DES
static java.lang.String MOTDESEDE
          Algorithm DESede
static java.lang.String MOTDH
          Algorithm Diffie-Hellman
static java.lang.String MOTECC
          Algorithm ECC
static java.lang.String MOTECDH
          Algorithm Elliptic Curve Diffie-Hellman
static java.lang.String MOTECDSA
          Algorithm ECDSA
static java.lang.String MOTFIPS
          Algorithm FIPS186
static java.lang.String MOTKEYAGREEMENT
          Algorithm Type: KeyAgreement
static java.lang.String MOTKEYGEN
          Algorithm Type: KENGEN
static java.lang.String MOTMD
          Algorithm Type: MessageDigest
static java.lang.String MOTMD5
          Algorithm MD5
static java.lang.String MOTMD5WITHRSA
          Algorithm MD5withRSA
static java.lang.String MOTOROLA
          Default provider name.
static java.lang.String MOTPATH
          Default algorithm path.
static java.lang.String MOTRC5
          Algorithm block cipher RC5
static java.lang.String MOTRNG
          Algorithm Type: RNG
static java.lang.String MOTRSA
          Algorithm RSA
static java.lang.String MOTSHA
          Algorithm SHA
static java.lang.String MOTSHA1WITHRSA
          Algorithm SHA1withRSA
static java.lang.String MOTSIG
          Algorithm Type: SIGNATURE
static java.lang.String OFB
          Cipher mode OFB64
static java.lang.String OFB128
          Cipher mode OFB128
static java.lang.String PKCS1
          PKCS#1v15Padding
static java.lang.String PKCS5
          PKCS#5Padding
static java.lang.String RAW
          RAW key format
static java.lang.String RSAPrivate
          RSA private key format
static java.lang.String RSAPublic
          RSA public key format
static int WTLS7
          WTLS7 Curve (elliptic curve)
 
Method Summary
static java.lang.Object[] getImpl(java.lang.String algorithm, java.lang.String type, java.lang.String provider)
          Returns an array of object which is an instance of the requested algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MOTOROLA

public static final java.lang.String MOTOROLA
Default provider name.

MOTPATH

public static final java.lang.String MOTPATH
Default algorithm path.

MOTMD

public static final java.lang.String MOTMD
Algorithm Type: MessageDigest

MOTRNG

public static final java.lang.String MOTRNG
Algorithm Type: RNG

MOTCipher

public static final java.lang.String MOTCipher
Algorithm Type: Cipher

MOTKEYGEN

public static final java.lang.String MOTKEYGEN
Algorithm Type: KENGEN

MOTSIG

public static final java.lang.String MOTSIG
Algorithm Type: SIGNATURE

MOTKEYAGREEMENT

public static final java.lang.String MOTKEYAGREEMENT
Algorithm Type: KeyAgreement

MOTMD5

public static final java.lang.String MOTMD5
Algorithm MD5

MOTSHA

public static final java.lang.String MOTSHA
Algorithm SHA

MOTFIPS

public static final java.lang.String MOTFIPS
Algorithm FIPS186

MOTDES

public static final java.lang.String MOTDES
Algorithm DES

MOTDESEDE

public static final java.lang.String MOTDESEDE
Algorithm DESede

MOTRC5

public static final java.lang.String MOTRC5
Algorithm block cipher RC5

MOTAES

public static final java.lang.String MOTAES
Algorithm AES

MOTARC4

public static final java.lang.String MOTARC4
Algorithm ARC4

MOTRSA

public static final java.lang.String MOTRSA
Algorithm RSA

MOTECC

public static final java.lang.String MOTECC
Algorithm ECC

MOTECDSA

public static final java.lang.String MOTECDSA
Algorithm ECDSA

MOTMD5WITHRSA

public static final java.lang.String MOTMD5WITHRSA
Algorithm MD5withRSA

MOTSHA1WITHRSA

public static final java.lang.String MOTSHA1WITHRSA
Algorithm SHA1withRSA

MOTDH

public static final java.lang.String MOTDH
Algorithm Diffie-Hellman

MOTECDH

public static final java.lang.String MOTECDH
Algorithm Elliptic Curve Diffie-Hellman

RAW

public static final java.lang.String RAW
RAW key format

RSAPrivate

public static final java.lang.String RSAPrivate
RSA private key format

RSAPublic

public static final java.lang.String RSAPublic
RSA public key format

ECB

public static final java.lang.String ECB
Cipher mode ECB

CBC

public static final java.lang.String CBC
Cipher mode CBC

CFB

public static final java.lang.String CFB
Cipher mode CFB64

OFB

public static final java.lang.String OFB
Cipher mode OFB64

CFB128

public static final java.lang.String CFB128
Cipher mode CFB128

OFB128

public static final java.lang.String OFB128
Cipher mode OFB128

PKCS5

public static final java.lang.String PKCS5
PKCS#5Padding

PKCS1

public static final java.lang.String PKCS1
PKCS#1v15Padding

WTLS7

public static final int WTLS7
WTLS7 Curve (elliptic curve)
Method Detail

getImpl

public static java.lang.Object[] getImpl(java.lang.String algorithm,
                                         java.lang.String type,
                                         java.lang.String provider)
                                  throws NoSuchAlgorithmException
Returns an array of object which is an instance of the requested algorithm.
Parameters:
algorithm - algorithm name
type - algorithm type
provider - algorithm path
Returns:
Object[] contains one object which is an instance of the requested algorithm
Throws:
NoSuchAlgorithmException - thrown when requested algorithm could not be located