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.8 $ $Date: 1996/10/30 14:07:43 $
- Author:
- Jesper Drud Nielsen ([email protected])
Torben Pedersen ([email protected])
- See Also:
- CryptoMan
-
ANSI_MAC
- Integer code for MAC according to ANSI stnadard
-
CRYPT_3DES
- Integer code for triple DES (2 keys)
-
CRYPT_DES
- Integer code for DES
-
CRYPT_IDEA
- Integer code for IDEA
-
CRYPT_OFFS
- Conventional algorithms.
-
DSS_NEW_COMMON
- Selecting DSS key with new primes and generator of small subgroup
-
DSS_OLD_COMMON
- Selecting DSS key reusing primes and generator of small subgroup
-
ENCR_PAD_0PAD
- 0-Padding of message for conventional encryption
-
ENCR_PAD_ISO10126
- ISO10126-Padding of message for conventional encryption
-
ENCR_PAD_NOPAD
- No padding of message for conventional encryption
-
ENCR_PAD_OFFS
- Padding of messages for conventional encryption
-
HASH_AR_DFP
- Integer code for for ARJ hash function
-
HASH_MD4
- Integer code for MD4
-
HASH_MD5
- Integer code for MD5
-
HASH_MDC2
- Integer code for HASH_MDC2
-
HASH_MDC4
- Integer code for MDC4
-
HASH_OFFS
- Hashing algorithms.
-
HASH_RIPEMD160
- Integer code for RIPEMD160
-
HASH_SHS
- Integer code for SHA-1
-
INVAL_ALG
- Undefined or unknown algorithm
-
ISO_MAC
- Integer code for MAC according to ISO standard
-
KEY_ENC_OFFS
- Padding of data keys encrypted under public keys
-
KEY_ENC_PAD0
- 0-Padding of data keys encrypted under public keys
-
KEY_ENC_PADRAND
- Random padding of data keys encrypted under public keys
-
MAC_OFFS
- MAC algorithms.
-
max_DSA_constlen
- the maximal length of the non-user specific part of a DSS public key
-
max_DSA_publen
- the maximal public key length in DSA is 128 byte + length info 2 byte
-
max_DSA_seclen
- Maximal length of DSA secret key
-
max_DSA_siglen
- Maximal length of a DSA signature
-
max_encr_keylen
- Maximal length of a data key encrypted under RSA
-
max_ISO_publen
- the maximal public key length
in ISO is 2*128 byte (modulus plus exponent) + length info 2+2 byte
-
max_RSA_publen
- the maximal public key length
in RSA is 2*128 byte (modulus plus exponent) + length info 2 +2 byte
-
max_RSAvar_seclen
- Maximal length of secret key for RSA variants (optimized format
for use of Chinese remaindering).
-
max_RSAvar_siglen
- maximal length of signatures for RSA variants.
-
max_ZKA_publen
- the maximal public key length in ZKA is 96 byte (modulus) + length
info 2 byte
-
min_DSA_constlen
- the maximal length of the non-user specific part of a DSS public key
-
min_DSA_publen
- the minimal public key length in DSA is 64 byte plus 2 byte length info
-
min_DSA_seclen
- Minimal length of DSA secret key
-
min_DSA_siglen
- Minimal length of a DSA signature
-
min_ISO_publen
- the minimal public key length in ISO is modulus 64 byte plus 1 byte exponent
plus 2+2 byte length info.
-
min_RSA_publen
- the minimal public key length in RSA is modulus 64 byte plus 1 byte exponent
plus 2 +2 byte length info.
-
min_RSAvar_seclen
- Minimal length of secret key of RSA variants (optimized format
for use of Chinese remaindering).
-
min_ZKA_publen
- the minimal public key length in ZKA is modulus 96 byte plus 2 byte length
info.
-
PK_OFFS
- Public key encryption algorithms.
-
PK_RSA
- Integer code for RSA
-
PUBLIC_OFFS
- Methods for selecting public keys
-
RC_BADREDUNDANCY
- Redundancy check failed when verifying a key
-
RC_DECRYPTION_ERROR
- Error when trying to decrypt (usually because of wrong key of parameters)
-
RC_INVALIDCERTIFICATE
- Invalid certificate supplied
-
RC_INVALIDSIGNATURE
- Signature invalid
-
RC_INVSTATEMENTOP
- Invalid operation on statement
-
RC_KEYACCERR
- Unable to access key
-
RC_KEYINCLEAR
- A key which should have been encrypted is in clear
-
RC_NO_MK
- The master key could not be found in archive
-
RC_NO_PW
- The user failed to provide a proper password
-
RC_NO_USER
- UserId not defined
-
RC_NOPUBLICKEY
- Public key missing
-
RC_NYI
- Returned by functions that are not yet fully implemented
-
RC_OK
- Return code signalling ok.
-
RC_SIGNATURENOTBORN
- Signature too "young"
-
RC_SIGNATURETOOOLD
- Signature too "old"
-
RIPE_MAC
- Integer code for MAC according to RIPE
-
RSA_EXP3
- Selecting RSA public key with exponent 3
-
RSA_EXP65537
- Selecting RSA public key with exponent 65537
-
RSA_EXPRAND
- Selecting RSA public key with random exponent
-
SIG_DSA
- Integer code for signatures using DSA
-
SIG_ISO9796
- Integer code for signatures using IS09796
-
SIG_OFFS
- Signature algorithms.
-
SIG_RABIN
- Integer code for signatures using Rabin
-
SIG_RSA
- Integer code for signatures using RSA
RC_NYI
public final static int RC_NYI
- Returned by functions that are not yet fully implemented
RC_OK
public final static int RC_OK
- Return code signalling ok.
RC_INVSTATEMENTOP
public final static int RC_INVSTATEMENTOP
- Invalid operation on statement
RC_KEYACCERR
public final static int RC_KEYACCERR
- Unable to access key
RC_SIGNATURENOTBORN
public final static int RC_SIGNATURENOTBORN
- Signature too "young"
RC_SIGNATURETOOOLD
public final static int RC_SIGNATURETOOOLD
- Signature too "old"
RC_INVALIDSIGNATURE
public final static int RC_INVALIDSIGNATURE
- Signature invalid
RC_NOPUBLICKEY
public final static int RC_NOPUBLICKEY
- Public key missing
RC_INVALIDCERTIFICATE
public final static int RC_INVALIDCERTIFICATE
- Invalid certificate supplied
RC_BADREDUNDANCY
public final static int RC_BADREDUNDANCY
- Redundancy check failed when verifying a key
RC_KEYINCLEAR
public final static int RC_KEYINCLEAR
- A key which should have been encrypted is in clear
RC_NO_USER
public final static int RC_NO_USER
- UserId not defined
RC_NO_PW
public final static int RC_NO_PW
- The user failed to provide a proper password
RC_NO_MK
public final static int RC_NO_MK
- The master key could not be found in archive
RC_DECRYPTION_ERROR
public final static int RC_DECRYPTION_ERROR
- Error when trying to decrypt (usually because of wrong key of parameters)
INVAL_ALG
public final static int INVAL_ALG
- Undefined or unknown algorithm
KEY_ENC_OFFS
public final static int KEY_ENC_OFFS
- Padding of data keys encrypted under public keys
KEY_ENC_PAD0
public final static int KEY_ENC_PAD0
- 0-Padding of data keys encrypted under public keys
KEY_ENC_PADRAND
public final static int KEY_ENC_PADRAND
- Random padding of data keys encrypted under public keys
PUBLIC_OFFS
public final static int PUBLIC_OFFS
- Methods for selecting public keys
RSA_EXP3
public final static int RSA_EXP3
- Selecting RSA public key with exponent 3
RSA_EXP65537
public final static int RSA_EXP65537
- Selecting RSA public key with exponent 65537
RSA_EXPRAND
public final static int RSA_EXPRAND
- Selecting RSA public key with random exponent
DSS_OLD_COMMON
public final static int DSS_OLD_COMMON
- Selecting DSS key reusing primes and generator of small subgroup
DSS_NEW_COMMON
public final static int DSS_NEW_COMMON
- Selecting DSS key with new primes and generator of small subgroup
ENCR_PAD_OFFS
public final static int ENCR_PAD_OFFS
- Padding of messages for conventional encryption
ENCR_PAD_0PAD
public final static int ENCR_PAD_0PAD
- 0-Padding of message for conventional encryption
ENCR_PAD_ISO10126
public final static int ENCR_PAD_ISO10126
- ISO10126-Padding of message for conventional encryption
ENCR_PAD_NOPAD
public final static int ENCR_PAD_NOPAD
- No padding of message for conventional encryption
HASH_OFFS
public final static int HASH_OFFS
- Hashing algorithms.
HASH_MD4
public final static int HASH_MD4
- Integer code for MD4
HASH_MD5
public final static int HASH_MD5
- Integer code for MD5
HASH_RIPEMD160
public final static int HASH_RIPEMD160
- Integer code for RIPEMD160
HASH_MDC2
public final static int HASH_MDC2
- Integer code for HASH_MDC2
HASH_MDC4
public final static int HASH_MDC4
- Integer code for MDC4
HASH_AR_DFP
public final static int HASH_AR_DFP
- Integer code for for ARJ hash function
HASH_SHS
public final static int HASH_SHS
- Integer code for SHA-1
CRYPT_OFFS
public final static int CRYPT_OFFS
- Conventional algorithms.
CRYPT_DES
public final static int CRYPT_DES
- Integer code for DES
CRYPT_IDEA
public final static int CRYPT_IDEA
- Integer code for IDEA
CRYPT_3DES
public final static int CRYPT_3DES
- Integer code for triple DES (2 keys)
MAC_OFFS
public final static int MAC_OFFS
- MAC algorithms.
ANSI_MAC
public final static int ANSI_MAC
- Integer code for MAC according to ANSI stnadard
ISO_MAC
public final static int ISO_MAC
- Integer code for MAC according to ISO standard
RIPE_MAC
public final static int RIPE_MAC
- Integer code for MAC according to RIPE
PK_OFFS
public final static int PK_OFFS
- Public key encryption algorithms.
PK_RSA
public final static int PK_RSA
- Integer code for RSA
SIG_OFFS
public final static int SIG_OFFS
- Signature algorithms.
SIG_RSA
public final static int SIG_RSA
- Integer code for signatures using RSA
SIG_DSA
public final static int SIG_DSA
- Integer code for signatures using DSA
SIG_ISO9796
public final static int SIG_ISO9796
- Integer code for signatures using IS09796
SIG_RABIN
public final static int SIG_RABIN
- Integer code for signatures using Rabin
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.
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.
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
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
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.
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
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.
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
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.
max_encr_keylen
public final static int max_encr_keylen
- Maximal length of a data key encrypted under RSA
max_DSA_constlen
public final static int max_DSA_constlen
- the maximal length of the non-user specific part of a DSS public key
min_DSA_constlen
public final static int min_DSA_constlen
- the maximal length of the non-user specific part of a DSS public key
max_DSA_publen
public final static int max_DSA_publen
- the maximal public key length in DSA is 128 byte + length info 2 byte
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
max_DSA_seclen
public final static int max_DSA_seclen
- Maximal length of DSA secret key
min_DSA_seclen
public final static int min_DSA_seclen
- Minimal length of DSA secret key
max_DSA_siglen
public final static int max_DSA_siglen
- Maximal length of a DSA signature
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