Interface semper.crypto.CryptoConstants
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface semper.crypto.CryptoConstants

public interface CryptoConstants
extends Object
This interface defines integer codes used by CryptoMan
Version:
$Revision: 1.6 $ $Date: 1996/09/02 14:34:06 $
Author:
Jesper Drud Nielsen ([email protected]) Torben Pedersen ([email protected])
See Also:
CryptoMan

Variable Index

 o ANSI_MAC
Integer code for MAC according to ANSI stnadard
 o CRYPT_3DES
Integer code for triple DES (2 keys)
 o CRYPT_DES
Integer code for DES
 o CRYPT_IDEA
Integer code for IDEA
 o CRYPT_OFFS
Conventional algorithms.
 o DSS_NEW_COMMON
Selecting DSS key with new primes and generator of small subgroup
 o DSS_OLD_COMMON
Selecting DSS key reusing primes and generator of small subgroup
 o ENCR_PAD_0PAD
0-Padding of message for conventional encryption
 o ENCR_PAD_ISO10126
ISO10126-Padding of message for conventional encryption
 o ENCR_PAD_NOPAD
No padding of message for conventional encryption
 o ENCR_PAD_OFFS
Padding of messages for conventional encryption
 o HASH_AR_DFP
Integer code for for ARJ hash function
 o HASH_MD4
Integer code for MD4
 o HASH_MD5
Integer code for MD5
 o HASH_MDC2
Integer code for HASH_MDC2
 o HASH_MDC4
Integer code for MDC4
 o HASH_OFFS
Hashing algorithms.
 o HASH_RIPEMD160
Integer code for RIPEMD160
 o HASH_SHS
Integer code for SHA-1
 o INVAL_ALG
Undefined or unknown algorithm
 o ISO_MAC
Integer code for MAC according to ISO standard
 o KEY_ENC_OFFS
Padding of data keys encrypted under public keys
 o KEY_ENC_PAD0
0-Padding of data keys encrypted under public keys
 o KEY_ENC_PADRAND
Random padding of data keys encrypted under public keys
 o MAC_OFFS
MAC algorithms.
 o max_DSA_constlen
the maximal length of the non-user specific part of a DSS public key
 o max_DSA_publen
the maximal public key length in DSA is 128 byte + length info 2 byte
 o max_DSA_seclen
Maximal length of DSA secret key
 o max_DSA_siglen
Maximal length of a DSA signature
 o max_encr_keylen
Maximal length of a data key encrypted under RSA
 o max_ISO_publen
the maximal public key length in ISO is 2*128 byte (modulus plus exponent) + length info 2+2 byte
 o max_RSA_publen
the maximal public key length in RSA is 2*128 byte (modulus plus exponent) + length info 2 +2 byte
 o max_RSAvar_seclen
Maximal length of secret key for RSA variants (optimized format for use of Chinese remaindering).
 o max_RSAvar_siglen
maximal length of signatures for RSA variants.
 o max_ZKA_publen
the maximal public key length in ZKA is 96 byte (modulus) + length info 2 byte
 o min_DSA_constlen
the maximal length of the non-user specific part of a DSS public key
 o min_DSA_publen
the minimal public key length in DSA is 64 byte plus 2 byte length info
 o min_DSA_seclen
Minimal length of DSA secret key
 o min_DSA_siglen
Minimal length of a DSA signature
 o min_ISO_publen
the minimal public key length in ISO is modulus 64 byte plus 1 byte exponent plus 2+2 byte length info.
 o min_RSA_publen
the minimal public key length in RSA is modulus 64 byte plus 1 byte exponent plus 2 +2 byte length info.
 o min_RSAvar_seclen
Minimal length of secret key of RSA variants (optimized format for use of Chinese remaindering).
 o min_ZKA_publen
the minimal public key length in ZKA is modulus 96 byte plus 2 byte length info.
 o PK_OFFS
Public key encryption algorithms.
 o PK_RSA
Integer code for RSA
 o PUBLIC_OFFS
Methods for selecting public keys
 o RC_INVSTATEMENTOP
Invalid operation on statement
 o RC_KEYACCERR
Unable to access key
 o RC_NYI
Returned by functions that are not yet fully implemented
 o RC_OK
Return code signalling ok.
 o RC_SIGNATURENOTBORN
Signature too "young"
 o RC_SIGNATURETOOOLD
Signature too "old"
 o RIPE_MAC
Integer code for MAC according to RIPE
 o RSA_EXP3
Selecting RSA public key with exponent 3
 o RSA_EXP65537
Selecting RSA public key with exponent 65537
 o RSA_EXPRAND
Selecting RSA public key with random exponent
 o SIG_DSA
Integer code for signatures using DSA
 o SIG_ISO9796
Integer code for signatures using IS09796
 o SIG_OFFS
Signature algorithms.
 o SIG_RABIN
Integer code for signatures using Rabin
 o SIG_RSA
Integer code for signatures using RSA

Variables

 o RC_NYI
  public final static int RC_NYI
Returned by functions that are not yet fully implemented
 o RC_OK
  public final static int RC_OK
Return code signalling ok.
 o RC_INVSTATEMENTOP
  public final static int RC_INVSTATEMENTOP
Invalid operation on statement
 o RC_KEYACCERR
  public final static int RC_KEYACCERR
Unable to access key
 o RC_SIGNATURENOTBORN
  public final static int RC_SIGNATURENOTBORN
Signature too "young"
 o RC_SIGNATURETOOOLD
  public final static int RC_SIGNATURETOOOLD
Signature too "old"
 o INVAL_ALG
  public final static int INVAL_ALG
Undefined or unknown algorithm
 o KEY_ENC_OFFS
  public final static int KEY_ENC_OFFS
Padding of data keys encrypted under public keys
 o KEY_ENC_PAD0
  public final static int KEY_ENC_PAD0
0-Padding of data keys encrypted under public keys
 o KEY_ENC_PADRAND
  public final static int KEY_ENC_PADRAND
Random padding of data keys encrypted under public keys
 o PUBLIC_OFFS
  public final static int PUBLIC_OFFS
Methods for selecting public keys
 o RSA_EXP3
  public final static int RSA_EXP3
Selecting RSA public key with exponent 3
 o RSA_EXP65537
  public final static int RSA_EXP65537
Selecting RSA public key with exponent 65537
 o RSA_EXPRAND
  public final static int RSA_EXPRAND
Selecting RSA public key with random exponent
 o DSS_OLD_COMMON
  public final static int DSS_OLD_COMMON
Selecting DSS key reusing primes and generator of small subgroup
 o DSS_NEW_COMMON
  public final static int DSS_NEW_COMMON
Selecting DSS key with new primes and generator of small subgroup
 o ENCR_PAD_OFFS
  public final static int ENCR_PAD_OFFS
Padding of messages for conventional encryption
 o ENCR_PAD_0PAD
  public final static int ENCR_PAD_0PAD
0-Padding of message for conventional encryption
 o ENCR_PAD_ISO10126
  public final static int ENCR_PAD_ISO10126
ISO10126-Padding of message for conventional encryption
 o ENCR_PAD_NOPAD
  public final static int ENCR_PAD_NOPAD
No padding of message for conventional encryption
 o HASH_OFFS
  public final static int HASH_OFFS
Hashing algorithms.
 o HASH_MD4
  public final static int HASH_MD4
Integer code for MD4
 o HASH_MD5
  public final static int HASH_MD5
Integer code for MD5
 o HASH_RIPEMD160
  public final static int HASH_RIPEMD160
Integer code for RIPEMD160
 o HASH_MDC2
  public final static int HASH_MDC2
Integer code for HASH_MDC2
 o HASH_MDC4
  public final static int HASH_MDC4
Integer code for MDC4
 o HASH_AR_DFP
  public final static int HASH_AR_DFP
Integer code for for ARJ hash function
 o HASH_SHS
  public final static int HASH_SHS
Integer code for SHA-1
 o CRYPT_OFFS
  public final static int CRYPT_OFFS
Conventional algorithms.
 o CRYPT_DES
  public final static int CRYPT_DES
Integer code for DES
 o CRYPT_IDEA
  public final static int CRYPT_IDEA
Integer code for IDEA
 o CRYPT_3DES
  public final static int CRYPT_3DES
Integer code for triple DES (2 keys)
 o MAC_OFFS
  public final static int MAC_OFFS
MAC algorithms.
 o ANSI_MAC
  public final static int ANSI_MAC
Integer code for MAC according to ANSI stnadard
 o ISO_MAC
  public final static int ISO_MAC
Integer code for MAC according to ISO standard
 o RIPE_MAC
  public final static int RIPE_MAC
Integer code for MAC according to RIPE
 o PK_OFFS
  public final static int PK_OFFS
Public key encryption algorithms.
 o PK_RSA
  public final static int PK_RSA
Integer code for RSA
 o SIG_OFFS
  public final static int SIG_OFFS
Signature algorithms.
 o SIG_RSA
  public final static int SIG_RSA
Integer code for signatures using RSA
 o SIG_DSA
  public final static int SIG_DSA
Integer code for signatures using DSA
 o SIG_ISO9796
  public final static int SIG_ISO9796
Integer code for signatures using IS09796
 o SIG_RABIN
  public final static int SIG_RABIN
Integer code for signatures using Rabin
 o max_RSAvar_seclen
  public final static int max_RSAvar_seclen
Maximal length of secret key for RSA variants (optimized format for use of Chinese remaindering). Applies to plain RSA, ISO9796, ZKA and Rabin variants.
 o min_RSAvar_seclen
  public final static int min_RSAvar_seclen
Minimal length of secret key of RSA variants (optimized format for use of Chinese remaindering). Applies to plain RSA, ISO9796 ZKA and Rabin variants.
 o max_RSAvar_siglen
  public final static int max_RSAvar_siglen
maximal length of signatures for RSA variants. Valid for plain RSA, ISO9796, ZKA and Rabin variants. No minimum length is defined, a signature may be a small number
 o max_RSA_publen
  public final static int max_RSA_publen
the maximal public key length in RSA is 2*128 byte (modulus plus exponent) + length info 2 +2 byte
 o min_RSA_publen
  public final static int min_RSA_publen
the minimal public key length in RSA is modulus 64 byte plus 1 byte exponent plus 2 +2 byte length info. This applies to ISO9796 variant too.
 o max_ISO_publen
  public final static int max_ISO_publen
the maximal public key length in ISO is 2*128 byte (modulus plus exponent) + length info 2+2 byte
 o min_ISO_publen
  public final static int min_ISO_publen
the minimal public key length in ISO is modulus 64 byte plus 1 byte exponent plus 2+2 byte length info.
 o max_ZKA_publen
  public final static int max_ZKA_publen
the maximal public key length in ZKA is 96 byte (modulus) + length info 2 byte
 o min_ZKA_publen
  public final static int min_ZKA_publen
the minimal public key length in ZKA is modulus 96 byte plus 2 byte length info.
 o max_encr_keylen
  public final static int max_encr_keylen
Maximal length of a data key encrypted under RSA
 o max_DSA_constlen
  public final static int max_DSA_constlen
the maximal length of the non-user specific part of a DSS public key
 o min_DSA_constlen
  public final static int min_DSA_constlen
the maximal length of the non-user specific part of a DSS public key
 o max_DSA_publen
  public final static int max_DSA_publen
the maximal public key length in DSA is 128 byte + length info 2 byte
 o min_DSA_publen
  public final static int min_DSA_publen
the minimal public key length in DSA is 64 byte plus 2 byte length info
 o max_DSA_seclen
  public final static int max_DSA_seclen
Maximal length of DSA secret key
 o min_DSA_seclen
  public final static int min_DSA_seclen
Minimal length of DSA secret key
 o max_DSA_siglen
  public final static int max_DSA_siglen
Maximal length of a DSA signature
 o min_DSA_siglen
  public final static int min_DSA_siglen
Minimal length of a DSA signature

All Packages  Class Hierarchy  This Package  Previous  Next  Index