Java Card
v2.2.2

Uses of Interface
javacard.security.Key

Packages that use Key
javacard.security Provides classes and interfaces that contain publicly-available functionality for implementing a security and cryptography framework on the Java Card platform. 
javacardx.crypto Extension package that contains functionality, which may be subject to export controls, for implementing a security and cryptography framework on the Java Card platform. 
 

Uses of Key in javacard.security
 

Subinterfaces of Key in javacard.security
 interface AESKey
          AESKey contains a 16/24/32 byte key for AES computations based on the Rijndael algorithm.
 interface DESKey
          DESKey contains an 8/16/24-byte key for single/2 key triple DES/3 key triple DES operations.
 interface DSAPrivateKey
          The DSAPrivateKey interface is used to sign data using the DSA algorithm.
 interface DSAPublicKey
          The DSAPublicKey interface is used to verify signatures on signed data using the DSA algorithm.
 interface ECPrivateKey
          The ECPrivateKey interface is used to generate signatures on data using the ECDSA (Elliptic Curve Digital Signature Algorithm) and to generate shared secrets using the ECDH (Elliptic Curve Diffie-Hellman) algorithm.
 interface ECPublicKey
          The ECPublicKey interface is used to verify signatures on signed data using the ECDSA algorithm and to generate shared secrets using the ECDH algorithm.
 interface HMACKey
          HMACKey contains a key for HMAC operations.
 interface KoreanSEEDKey
          KoreanSEEDKey contains an 16-byte key for Korean Seed Algorithm operations.
 interface PrivateKey
          The PrivateKey interface is the base interface for private keys used in asymmetric algorithms.
 interface PublicKey
          The PublicKey interface is the base interface for public keys used in asymmetric algorithms.
 interface RSAPrivateCrtKey
          The RSAPrivateCrtKey interface is used to sign data using the RSA algorithm in its Chinese Remainder Theorem form.
 interface RSAPrivateKey
          The RSAPrivateKey class is used to sign data using the RSA algorithm in its modulus/exponent form.
 interface RSAPublicKey
          The RSAPublicKey is used to verify signatures on signed data using the RSA algorithm.
 interface SecretKey
          The SecretKey class is the base interface for keys used in symmetric algorithms (DES, for example).
 

Methods in javacard.security that return Key
static Key KeyBuilder.buildKey(byte keyType, short keyLength, boolean keyEncryption)
          Creates uninitialized cryptographic keys for signature and cipher algorithms.
 

Methods in javacard.security with parameters of type Key
 void SignatureMessageRecovery.init(Key theKey, byte theMode)
          Initializes the Signature object with the appropriate Key.
abstract  void Signature.init(Key theKey, byte theMode)
          Initializes the Signature object with the appropriate Key.
abstract  void Signature.init(Key theKey, byte theMode, byte[] bArray, short bOff, short bLen)
          Initializes the Signature object with the appropriate Key and algorithm specific parameters.
 

Uses of Key in javacardx.crypto
 

Methods in javacardx.crypto with parameters of type Key
abstract  void Cipher.init(Key theKey, byte theMode)
          Initializes the Cipher object with the appropriate Key.
abstract  void Cipher.init(Key theKey, byte theMode, byte[] bArray, short bOff, short bLen)
          Initializes the Cipher object with the appropriate Key and algorithm specific parameters.
 


Java Card
v2.2.2

Copyright © 1993-2005 Sun Microsystems, Inc. 4150 Network Circle,
Santa Clara, CA, 95054, U.S.A. All Rights Reserved.