📄 cryptix.properties
字号:
## $Log: Cryptix.properties,v $
## Revision 1.1 2003/08/18 19:36:15 jonesde
## Added thirdparty stuff.
##
## Revision 1.1.1.1 2003/08/17 09:22:45 azeneski
##
##
## Revision 1.1 2003/01/13 23:11:10 azeneski
## I have been given permission by David Adkins from WorldPay US to supply these libs with OFBiz
##
## Revision 1.24 1998/01/13 15:24:29 iang
## ElGamal - MD5 somehow had Signature added twice
##
## Revision 1.23 1998/01/13 14:26:35 iang
## And added Signature to the ElGamal cases.
##
## Revision 1.22 1998/01/13 14:15:14 iang
## added back the Signatures word to the *_RSA_PKCS1 lines
##
## Revision 1.21 1998/01/11 03:28:23 hopwood
## + Committed changes below.
##
## Revision 1.20.1 1998/01/11 hopwood
## + Added PKCS5Padding alias.
## + Cleaned up native linking properties.
## + Minor changes to OID section.
## + Configured HMAC variants for each digest algorithm.
## + Added recommendation to change Local.properties, instead of this file
## in the header comments.
## + Removed my temporary debug settings.
## + Added MD2/RPK/PKCS#1 for consistency.
## + Added 'Native.Allow' property (to enable or disable all native code).
## + Changed comment for 'Native.Enable.*' - the default is now false.
##
## Revision 1.20 1998/01/08 17:33:28 iang
## All native invocations are turned to false by the distribution scripts.
## There is no change to *this* file within CVS, other than the updated
## comment. The change occurs as the distribution is being made.
##
## Revision 1.19 1997/12/18 17:51:53 hopwood
## + Added more Signature aliases for ElGamal and RPK.
##
## Revision 1.18 1997/12/16 21:55:20 iang
## + Added SHA-0 and SHA-1, separated debugs into ciphers then mds.
##
## Revision 1.17 1997/12/15 03:04:31 hopwood
## + Lowered debugging levels for ElGamal.
##
## Revision 1.16 1997/12/14 17:46:31 hopwood
## + Committed changes below.
##
## Revision 1.15.1 1997/12/14 hopwood
## + Renamed DES3KeyGenerator to DES_EDE3KeyGenerator.
## + Added Alg.DefaultParameterSet.ElGamal property (commented out).
##
## Revision 1.15 1997/12/07 11:30:26 iang
## + Added a few things for DES-EDE3.
##
## Revision 1.14 1997/12/07 07:34:41 hopwood
## + Committed changes below.
##
## Revision 1.13.1 1997/12/06 hopwood
## + Restored ElGamal properties.
## + Set Debug.Level.* to 1.
##
## Revision 1.13 1997/12/06 13:23:02 iang
## + Uppercase the debug name for LOKI.
##
## Revision 1.12 1997/12/03 02:19:38 iang
## + Set debugging to 0.
##
## Revision 1.11 1997/11/29 04:47:53 hopwood
## + Lowered debug level for NativeLink to 5.
##
## Revision 1.10 1997/11/23 03:18:23 hopwood
## + Committed changes below.
##
## Revision 1.8.1 1997/11/22 hopwood
## + Corrected some out-of-date comments.
## + Changed names of all signature algorithms so far to end in "/PKCS#1".
## + Renamed "Native.Disable" properties to "Native.Enable", toggling each
## value.
##
## Revision 1.8 1997/11/20 22:38:00 hopwood
## + Committed changes below.
##
## Revision 1.7.1 1997/11/18 hopwood
## + Renamed RPK signature algorithms to follow Sun's convention
## (digest name first).
## + Added comment that a debugging level of 1 is "safe".
##
## Revision 1.7 1997/11/10 07:31:33 raif
## *** empty log message ***
##
## Revision 1.5 1997/11/07 05:53:26 raif
## + Added the RPK package properties.
##
## Revision 1.4 1997/11/05 16:48:03 raif
## + Resurrected PKCS#5.
##
## $Endlog$
#
# Copyright (c) 1997 Systemics Ltd
# on behalf of the Cryptix Development Team. All rights reserved.
#
# Properties file for the Cryptix security provider.
# Important: no secret information should be stored in this file.
#
# It is recommended that instead of modifying Cryptix.properties, you
# create a 'Local.properties' file in the same directory, and modify
# that. Any properties in that file will add to and override the ones
# here.
#
# The advantage of doing this is that you can copy the Local.properties
# file between different Cryptix distributions, without having to merge
# your changes with any changes that we have made between versions.
# On operating systems that support symbolic links, Local.properties
# could be a link to some common location.
# ----------------------------------------------------------------------
# PGP properties
# ----------------------------------------------------------------------
# Specify the directory containing config.txt or pgp.ini below.
# '/' expands to the OS-specific directory separator, and '~' to the
# value of the user.home system property.
PGP.ConfigPath = ~/.pgp/config.txt
# ----------------------------------------------------------------------
# Debugging properties
#
# If the library is compiled with cryptix.util.core.Debug.GLOBAL_DEBUG
# set to false, debugging is always disabled, and these properties are
# ignored. Otherwise, the higher the debugging level, the more
# information is displayed.
#
# To set the default debugging level, use
# Debug.Level.* = ...
#
# A debugging level of 1 is intended to be "safe" in the sense that it
# will not reveal private information in debugging messages. Higher
# debugging levels **MUST NOT** be used in normal operation.
# ----------------------------------------------------------------------
Debug.Level.Blowfish = 0
Debug.Level.Square = 0
Debug.Level.SAFER = 0
Debug.Level.IDEA = 0
Debug.Level.LOKI91 = 0
Debug.Level.SPEED = 0
Debug.Level.DES = 0
Debug.Level.DES_EDE3 = 0
Debug.Level.HAVAL = 0
Debug.Level.RIPEMD128 = 0
Debug.Level.RIPEMD160 = 0
Debug.Level.MD5 = 0
Debug.Level.SHA-0 = 0
Debug.Level.SHA-1 = 0
Debug.Level.* = 1
# See the IJCE.properties file for tracing properties.
# ----------------------------------------------------------------------
# Native linking properties
#
# To set whether native linking is enabled for a particular library
# 'libname', add
# Native.Enable.libname = true/false
# To set whether libraries are linked by default, add
# Native.Enable.* = true/false
# To set whether native linking is allowed (this overrides all other
# properties):
# Native.Allow = true/false
#
# The default for Native.Allow is true, and the default for
# Native.Enable.* is false.
# Note that some related algorithms share a single library.
# The algorithms that have false values below do not have any JNI native
# code written for them.
# ----------------------------------------------------------------------
Native.Allow = false # (distribution setting)
Native.Enable.* = false
Native.Enable.BigNum = false
Native.Enable.Blowfish = true
Native.Enable.CAST5 = false
Native.Enable.DES = false
Native.Enable.DES_EDE3 = false
Native.Enable.IDEA = true
Native.Enable.LOKI91 = true
Native.Enable.RC2 = false
Native.Enable.RC4 = false
Native.Enable.SAFER = false
Native.Enable.SPEED = false
Native.Enable.Square = true
Native.Enable.HAVAL = true
Native.Enable.MD2 = false
Native.Enable.MD4 = false
Native.Enable.MD5 = false
Native.Enable.SHA0 = false
Native.Enable.SHA1 = false
Native.Enable.RIPEMD = true
# ----------------------------------------------------------------------
# Specific implementation defaults
# ----------------------------------------------------------------------
# default number of rounds for Blowfish:
Alg.rounds.Blowfish = 16
# default number of rounds for SPEED:
Alg.rounds.SPEED = 64
# default size of a block (in bytes) for SPEED:
Alg.blockSize.SPEED = 8
# default number of passes for the HAVAL hash algorithm:
Alg.passes.HAVAL = 3
# default length of output (in bits) for HAVAL:
Alg.bitLength.HAVAL = 256
# default class to use for ElGamal/Diffie-Hellman parameters.
Alg.DefaultParameterSet.ElGamal = cryptix.provider.elgamal.DefaultElGamalParameterSet
# ----------------------------------------------------------------------
# RPK properties
# ----------------------------------------------------------------------
Cipher.RPK.stream.cipher = cryptix.provider.rpk.StreamCipher
Cipher.RPK.block.cipher = cryptix.provider.rpk.BlockCipher
KeyGenerator.RPK = cryptix.provider.rpk.RPKKeyGenerator
KeyPairGenerator.RPK = cryptix.provider.rpk.RPKKeyPairGenerator
Alg.Alias.Signature.MD2/RPK = MD2/RPK/PKCS#1
Alg.Alias.Signature.MD5/RPK = MD5/RPK/PKCS#1
Alg.Alias.Signature.SHA-1/RPK = SHA-1/RPK/PKCS#1
Alg.Alias.Signature.RIPEMD160/RPK = RIPEMD160/RPK/PKCS#1
Signature.MD2/RPK/PKCS#1 = cryptix.provider.rpk.MD2_RPK_PKCS1
Signature.MD5/RPK/PKCS#1 = cryptix.provider.rpk.MD5_RPK_PKCS1
Signature.SHA-1/RPK/PKCS#1 = cryptix.provider.rpk.SHA1_RPK_PKCS1
Signature.RIPEMD160/RPK/PKCS#1 = cryptix.provider.rpk.R160_RPK_PKCS1
# ----------------------------------------------------------------------
# Alias entries take the form 'Alg.Alias.<alias-name> = <standard-name>'
# getAlgorithm() returns the standard name, so it is important for
# interoperability to know which one that is.
#
# Aliases for ASN.1 OIDs are defined later.
# ----------------------------------------------------------------------
Alg.Alias.Cipher.3DES = DES-EDE3
Alg.Alias.Cipher.DES3 = DES-EDE3
Alg.Alias.Cipher.TripleDES = DES-EDE3
Alg.Alias.Cipher.CAST = CAST5
Alg.Alias.Cipher.CAST-128 = CAST5
Alg.Alias.Cipher.LOKI = LOKI91
Alg.Alias.Cipher.LOKI-91 = LOKI91
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -