18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 package com.oracle.security.ucrypto; 27 28 import java.io.*; 29 import static java.io.StreamTokenizer.*; 30 import java.math.BigInteger; 31 import java.util.*; 32 33 import java.security.*; 34 35 import sun.security.action.GetPropertyAction; 36 import sun.security.util.PropertyExpander; 37 38 import sun.security.pkcs11.wrapper.*; 39 40 /** 41 * Configuration container and file parsing. 42 * 43 * Currently, there is only one supported entry "disabledServices" 44 * for disabling crypto services. Its syntax is as follows: 45 * 46 * disabledServices = { 47 * <ServiceType>.<Algorithm> 48 * ... 49 * } 50 * 51 * where <Service> can be "MessageDigest", "Cipher", etc. and <Algorithm> 52 * reprepresents the value that's passed into the various getInstance() calls. 53 * 54 * @since 1.9 55 */ 56 final class Config { 57 58 // Reader and StringTokenizer used during parsing 59 private Reader reader; | 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 package com.oracle.security.ucrypto; 27 28 import java.io.*; 29 import static java.io.StreamTokenizer.*; 30 import java.math.BigInteger; 31 import java.util.*; 32 33 import java.security.*; 34 35 import sun.security.action.GetPropertyAction; 36 import sun.security.util.PropertyExpander; 37 38 /** 39 * Configuration container and file parsing. 40 * 41 * Currently, there is only one supported entry "disabledServices" 42 * for disabling crypto services. Its syntax is as follows: 43 * 44 * disabledServices = { 45 * <ServiceType>.<Algorithm> 46 * ... 47 * } 48 * 49 * where <Service> can be "MessageDigest", "Cipher", etc. and <Algorithm> 50 * reprepresents the value that's passed into the various getInstance() calls. 51 * 52 * @since 1.9 53 */ 54 final class Config { 55 56 // Reader and StringTokenizer used during parsing 57 private Reader reader; |