/openjdk7/jdk/test/java/security/Security/ |
H A D | CaseInsensitiveAlgNames.java | 27 * @summary Make sure algorithm names provided to getInstance() are 38 MessageDigest md = MessageDigest.getInstance("SHA"); 39 md = MessageDigest.getInstance("sha"); 40 md = MessageDigest.getInstance("Sha-1"); 41 md = MessageDigest.getInstance("shA1"); 44 md = MessageDigest.getInstance("SHA", "SUN"); 45 md = MessageDigest.getInstance("sha", "SUN"); 46 md = MessageDigest.getInstance("Sha-1", "SUN"); 47 md = MessageDigest.getInstance("shA1", "SUN"); 50 KeyPairGenerator kGen = KeyPairGenerator.getInstance("DS [all...] |
/openjdk7/jdk/test/javax/crypto/Cipher/ |
H A D | Turkish.java | 40 System.out.println(Cipher.getInstance("RSA/ECB/PKCS1Padding")); 41 System.out.println(Cipher.getInstance("RSA/ECB/PKCS1PADDING")); 42 System.out.println(Cipher.getInstance("rsa/ecb/pkcs1padding")); 43 System.out.println(Cipher.getInstance("Blowfish")); 44 System.out.println(Cipher.getInstance("blowfish")); 45 System.out.println(Cipher.getInstance("BLOWFISH"));
|
H A D | TestGetInstance.java | 27 * @summary test that the new getInstance() implementation works correctly 49 c = Cipher.getInstance("PBEWithMD5AndTripleDES"); 52 c = Cipher.getInstance("des", "SunJCE"); 54 c = Cipher.getInstance("des/cbc/pkcs5padding", "SunJCE"); 57 c = Cipher.getInstance("des", p); 59 c = Cipher.getInstance("des/cbc/pkcs5padding", p); 63 c = Cipher.getInstance("DES/XYZ/PKCS5Padding"); 69 c = Cipher.getInstance("DES/XYZ/PKCS5Padding", "SunJCE"); 75 c = Cipher.getInstance("DES/XYZ/PKCS5Padding", p); 82 c = Cipher.getInstance("DE [all...] |
/openjdk7/jdk/test/java/security/cert/ |
H A D | GetInstance.java | 28 * CertificateFactory}.getInstance throws InvalidAlgorithmParameterException 43 CertStore cs = CertStore.getInstance("LDAP", ccsp); 44 throw new Exception("CertStore.getInstance() should have thrown " + 49 CertStore cs = CertStore.getInstance("BOGUS", null); 50 throw new Exception("CertStore.getInstance() should have thrown " + 55 CertPathBuilder cpb = CertPathBuilder.getInstance("BOGUS"); 56 throw new Exception("CertPathBuilder.getInstance() should have " + 61 CertPathValidator cpv = CertPathValidator.getInstance("BOGUS"); 62 throw new Exception("CertPathValidator.getInstance() should have " + 67 CertificateFactory cf = CertificateFactory.getInstance("BOGU [all...] |
/openjdk7/jdk/src/share/classes/org/ietf/jgss/ |
H A D | GSSName.java | 57 * GSSManager manager = GSSManager.getInstance(); 111 = Oid.getInstance("1.2.840.113554.1.2.1.4"); 121 = Oid.getInstance("1.2.840.113554.1.2.1.1"); 132 = Oid.getInstance("1.2.840.113554.1.2.1.2"); 144 = Oid.getInstance("1.2.840.113554.1.2.1.3"); 153 = Oid.getInstance("1.3.6.1.5.6.3"); 164 = Oid.getInstance("1.3.6.1.5.6.4");
|
/openjdk7/jdk/test/java/security/Policy/GetInstance/ |
H A D | GetInstanceSecurity.java | 39 Policy p = Policy.getInstance(JAVA_POLICY, null); 46 Policy p = Policy.getInstance(JAVA_POLICY, null, "SUN"); 53 Policy p = Policy.getInstance(JAVA_POLICY, null,
|
/openjdk7/langtools/test/tools/javac/scope/6225935/ |
H A D | T6381787.java | 37 Object o = getInstance();
|
/openjdk7/jdk/test/sun/security/ssl/javax/net/ssl/ |
H A D | GetInstance.java | 27 * @summary verify getInstance() works using Provider.getService() 50 context = SSLContext.getInstance("SSL"); 52 context = SSLContext.getInstance("SSL", "SunJSSE"); 54 context = SSLContext.getInstance("SSL", p); 58 kmf = KeyManagerFactory.getInstance("SunX509"); 60 kmf = KeyManagerFactory.getInstance("SunX509", "SunJSSE"); 62 kmf = KeyManagerFactory.getInstance("SunX509", p); 65 kmf = KeyManagerFactory.getInstance("NewSunX509"); 67 kmf = KeyManagerFactory.getInstance("NewSunX509", "SunJSSE"); 69 kmf = KeyManagerFactory.getInstance("NewSunX50 [all...] |
/openjdk7/jdk/test/javax/crypto/KeyGenerator/ |
H A D | TestGetInstance.java | 27 * @summary test that the new getInstance() implementation works correctly 50 kg = KeyGenerator.getInstance("des"); 52 kg = KeyGenerator.getInstance("des", "SunJCE"); 54 kg = KeyGenerator.getInstance("des", p); 58 kg = KeyGenerator.getInstance("foo"); 64 kg = KeyGenerator.getInstance("foo", "SunJCE"); 70 kg = KeyGenerator.getInstance("foo", p); 77 kg = KeyGenerator.getInstance("foo", "SUN"); 83 kg = KeyGenerator.getInstance("foo", Security.getProvider("SUN")); 89 kg = KeyGenerator.getInstance("fo [all...] |
/openjdk7/jdk/test/javax/crypto/Mac/ |
H A D | TestGetInstance.java | 27 * @summary test that the new getInstance() implementation works correctly 50 mac = Mac.getInstance("hmacmd5"); 52 mac = Mac.getInstance("hmacmd5", "SunJCE"); 54 mac = Mac.getInstance("hmacmd5", p); 58 mac = Mac.getInstance("foo"); 64 mac = Mac.getInstance("foo", "SunJCE"); 70 mac = Mac.getInstance("foo", p); 77 mac = Mac.getInstance("foo", "SUN"); 83 mac = Mac.getInstance("foo", Security.getProvider("SUN")); 89 mac = Mac.getInstance("fo [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/ |
H A D | BuilderFactory.java | 70 return ConstantsSummaryBuilder.getInstance(configuration, 84 return PackageSummaryBuilder.getInstance(configuration, pkg, 101 return ClassBuilder.getInstance(configuration, classDoc, 119 return AnnotationTypeBuilder.getInstance(configuration, annotationType, 131 return MethodBuilder.getInstance(configuration, 146 return AnnotationTypeOptionalMemberBuilder.getInstance(configuration, 162 return AnnotationTypeRequiredMemberBuilder.getInstance(configuration, 175 return EnumConstantBuilder.getInstance(configuration, classWriter.getClassDoc(), 186 return FieldBuilder.getInstance(configuration, classWriter.getClassDoc(), 198 return PropertyBuilder.getInstance(configuratio [all...] |
/openjdk7/jdk/test/javax/security/auth/login/Configuration/ |
H A D | GetInstanceSecurity.java | 45 Configuration c = Configuration.getInstance(JAVA_CONFIG, null); 52 Configuration c = Configuration.getInstance 60 Configuration c = Configuration.getInstance 73 Policy p = Policy.getInstance("JavaPolicy", param, "SUN"); 83 Configuration c = Configuration.getInstance(JAVA_CONFIG, uriParam); 89 Configuration c = Configuration.getInstance 97 Configuration c = Configuration.getInstance
|
/openjdk7/jdk/test/sun/security/mscapi/ |
H A D | IsSunMSCAPIAvailable.java | 62 SecureRandom random = SecureRandom.getInstance("Windows-PRNG", p); 69 KeyStore keystore = KeyStore.getInstance("Windows-MY", p); 73 keystore = KeyStore.getInstance("Windows-ROOT", p); 80 Signature signature = Signature.getInstance("SHA1withRSA", p); 84 signature = Signature.getInstance("MD5withRSA", p); 88 signature = Signature.getInstance("MD2withRSA", p); 96 KeyPairGenerator.getInstance("RSA", p); 106 cipher = Cipher.getInstance("RSA", p); 110 cipher = Cipher.getInstance("RSA/ECB/PKCS1Padding", p);
|
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/ |
H A D | CollatorFactoryBase.java | 37 public static final Collator DEFAULT_COLLATOR = Collator.getInstance(); 43 return Collator.getInstance(new Locale(lang, country)); 50 return Collator.getInstance(locale);
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/ |
H A D | DTDDVFactory.java | 48 public static final DTDDVFactory getInstance() throws DVFactoryException { method in class:DTDDVFactory 49 return getInstance(DEFAULT_FACTORY_CLASS); 60 public static final DTDDVFactory getInstance(String factoryClass) throws DVFactoryException { method in class:DTDDVFactory
|
/openjdk7/jdk/src/share/classes/java/text/spi/ |
H A D | CollatorProvider.java | 58 * @see java.text.Collator#getInstance(java.util.Locale) 60 public abstract Collator getInstance(Locale locale); method in class:CollatorProvider
|
H A D | DateFormatSymbolsProvider.java | 59 * @see java.text.DateFormatSymbols#getInstance(java.util.Locale) 61 public abstract DateFormatSymbols getInstance(Locale locale); method in class:DateFormatSymbolsProvider
|
H A D | DecimalFormatSymbolsProvider.java | 59 * @see java.text.DecimalFormatSymbols#getInstance(java.util.Locale) 61 public abstract DecimalFormatSymbols getInstance(Locale locale); method in class:DecimalFormatSymbolsProvider
|
/openjdk7/jdk/test/sun/security/provider/SeedGenerator/ |
H A D | SeedGeneratorChoice.java | 49 SecureRandom prng = SecureRandom.getInstance("SHA1PRNG");
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/stax/events/ |
H A D | EmptyIterator.java | 39 public static EmptyIterator getInstance() { method in class:EmptyIterator 49 throw new UnsupportedOperationException(CommonResourceBundle.getInstance().getString("message.emptyIterator"));
|
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/PBE/ |
H A D | PKCS12Oid.java | 44 Cipher c = Cipher.getInstance(OID_PBEWithSHAAnd40BitRC2CBC, "SunJCE"); 45 c = Cipher.getInstance(OID_PBEWithSHAAnd3KeyTripleDESCBC, "SunJCE");
|
/openjdk7/jdk/test/sun/util/resources/Calendar/ |
H A D | Bug4527203.java | 36 Calendar huCalendar = Calendar.getInstance(new Locale("hu","HU")); 42 Calendar ukCalendar = Calendar.getInstance(new Locale("uk","UA"));
|
/openjdk7/jdk/src/share/sample/nio/server/ |
H A D | B1.java | 62 ChannelIOSecure.getInstance( 64 ChannelIO.getInstance(
|
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/SSLSecurity/ |
H A D | ProviderTest.java | 48 sslc = SSLContext.getInstance("javax"); 51 sslc = SSLContext.getInstance("com"); 55 tmf = TrustManagerFactory.getInstance("javax"); 58 tmf = TrustManagerFactory.getInstance("com"); 62 kmf = KeyManagerFactory.getInstance("javax"); 65 kmf = KeyManagerFactory.getInstance("com");
|
/openjdk7/jdk/test/java/security/Signature/ |
H A D | NONEwithRSA.java | 45 KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA"); 49 Signature sig = Signature.getInstance("NONEwithRSA"); 61 Cipher c = Cipher.getInstance("RSA/ECB/PKCS1Padding"); 68 sig = Signature.getInstance("NONEwithRSA", "SunJCE"); 70 sig = Signature.getInstance("NONEwithRSA", Security.getProvider("SunJCE")); 74 Signature.getInstance("NONEwithRSA", "SUN");
|