Searched refs:getInstance (Results 51 - 75 of 1253) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/com/sun/net/httpserver/
H A DSimpleSSLContext.java42 KeyStore ks = KeyStore.getInstance("JKS");
45 KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
48 TrustManagerFactory tmf = TrustManagerFactory.getInstance("SunX509");
51 ssl = SSLContext.getInstance ("TLS");
/openjdk7/jdk/test/java/awt/AlphaComposite/
H A DTestAlphaCompositeForNaN.java13 AlphaComposite a = AlphaComposite.getInstance(AlphaComposite.DST, Float.NaN);
/openjdk7/jdk/test/java/security/KeyPairGenerator/
H A DGenerateKeypair.java37 KeyPairGenerator kpg = KeyPairGenerator.getInstance("DSA");
/openjdk7/jdk/test/java/security/Provider/
H A DCertStoreConstructorParam.java27 * @summary CertStore.getInstance(String,CertStoreParameters,String) throws NoSuchAlgorithmE
38 CertStore.getInstance("Collection", null, "SUN");
/openjdk7/jdk/test/java/security/Security/removing/
H A DRemoveStaticProvider.java38 KeyAgreement ka = KeyAgreement.getInstance("DH", "SunJCE");
/openjdk7/jdk/test/java/security/cert/CertificateFactory/
H A DBadX509CertData.java39 CertificateFactory factory = CertificateFactory.getInstance("X.509");
/openjdk7/jdk/test/java/security/cert/CertificateFactory/invalidEncodedCerts/
H A DDetectInvalidEncoding.java36 CertificateFactory cf = CertificateFactory.getInstance("X.509");
/openjdk7/jdk/test/java/security/cert/CertificateFactory/openssl/
H A DBadFooter.java72 CertificateFactory.getInstance("X509").generateCertificates(
/openjdk7/jdk/test/javax/sound/midi/Gervill/ModelIdentifier/
H A DSetInstance.java42 if(id.getInstance() != 2)
43 throw new RuntimeException("id.getInstance() doesn't return 2!");
/openjdk7/jdk/test/sun/security/jgss/spnego/
H A DNoSpnegoAsDefMech.java39 GSSManager.getInstance().createName("service@localhost", GSSName.NT_HOSTBASED_SERVICE, new Oid("1.3.6.1.5.5.2"));
/openjdk7/jdk/test/sun/security/krb5/
H A DConfigWithQuotations.java37 Config config = Config.getInstance();
/openjdk7/jdk/test/sun/security/krb5/config/
H A DDNS.java31 Config config = Config.getInstance();
/openjdk7/jdk/test/sun/security/pkcs11/Cipher/
H A DTestRawRSACipher.java42 Cipher.getInstance("RSA/ECB/NoPadding", p);
49 KeyPairGenerator kpGen = KeyPairGenerator.getInstance("RSA", p);
58 Cipher c1 = Cipher.getInstance("RSA/ECB/NoPadding", p);
59 Cipher c2 = Cipher.getInstance("RSA/ECB/NoPadding", "SunJCE");
/openjdk7/jdk/src/share/classes/javax/net/ssl/
H A DSSLContext.java83 * <code>SSLContext.getInstance("Default")</code>.
91 * {@link SSLContext#getInstance SSLContext.getInstance()} call fails
97 defaultContext = SSLContext.getInstance("Default");
154 public static SSLContext getInstance(String protocol) method in class:SSLContext
156 GetInstance.Instance instance = GetInstance.getInstance
197 public static SSLContext getInstance(String protocol, String provider) method in class:SSLContext
199 GetInstance.Instance instance = GetInstance.getInstance
234 public static SSLContext getInstance(String protocol, Provider provider) method in class:SSLContext
236 GetInstance.Instance instance = GetInstance.getInstance
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaFonts.java42 protected FontUIResource getInstance() {
49 protected FontUIResource getInstance() {
55 protected FontUIResource getInstance() {
61 protected FontUIResource getInstance() {
67 protected FontUIResource getInstance() {
74 protected FontUIResource getInstance() {
80 protected FontUIResource getInstance() {
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/
H A DCloseStart.java93 KeyStore ks = KeyStore.getInstance("JKS");
94 KeyStore ts = KeyStore.getInstance("JKS");
101 KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
104 TrustManagerFactory tmf = TrustManagerFactory.getInstance("SunX509");
107 SSLContext sslCtx = SSLContext.getInstance("TLS");
/openjdk7/jdk/test/java/security/cert/CertPathValidator/OCSP/
H A DFailoverToCRL.java191 CertificateFactory cf = CertificateFactory.getInstance("X.509");
206 CertificateFactory cf = CertificateFactory.getInstance("X.509");
220 CertificateFactory cf = CertificateFactory.getInstance("X.509");
227 return CertStore.getInstance("Collection",
254 CertPathValidator validator = CertPathValidator.getInstance("PKIX");
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXErrorHandler.java83 public static IgnoreBadWindowHandler getInstance() { method in class:XErrorHandler.IgnoreBadWindowHandler
98 public static VerifyChangePropertyHandler getInstance() { method in class:XErrorHandler.VerifyChangePropertyHandler
122 public static XShmAttachHandler getInstance() { method in class:XErrorHandler.XShmAttachHandler
145 public static GLXBadAllocHandler getInstance() { method in class:XErrorHandler.GLXBadAllocHandler
169 public static XChangeWindowAttributesHandler getInstance() { method in class:XErrorHandler.XChangeWindowAttributesHandler
/openjdk7/jdk/test/sun/security/pkcs11/rsa/
H A DKeyWrap.java44 Cipher.getInstance("RSA/ECB/PKCS1Padding", p);
51 KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA", p);
57 KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA");
60 KeyFactory kf = KeyFactory.getInstance("RSA", p);
77 Cipher c = Cipher.getInstance("RSA/ECB/PKCS1Padding", p);
78 // Cipher c = Cipher.getInstance("RSA/ECB/PKCS1Padding");
/openjdk7/jdk/src/share/classes/sun/security/jca/
H A DGetInstance.java34 * Collection of utility methods to facilitate implementing getInstance()
139 * For all the getInstance() methods below:
152 public static Instance getInstance(String type, Class clazz, method in class:GetInstance
164 return getInstance(firstService, clazz);
176 return getInstance(s, clazz);
184 public static Instance getInstance(String type, Class clazz, method in class:GetInstance
190 return getInstance(s, clazz, param);
203 public static Instance getInstance(String type, Class clazz, method in class:GetInstance
206 return getInstance(getService(type, algorithm, provider), clazz);
209 public static Instance getInstance(Strin method in class:GetInstance
215 public static Instance getInstance(String type, Class clazz, method in class:GetInstance
221 public static Instance getInstance(String type, Class clazz, method in class:GetInstance
234 public static Instance getInstance(Service s, Class clazz) method in class:GetInstance
241 public static Instance getInstance(Service s, Class clazz, method in class:GetInstance
[all...]
/openjdk7/jdk/test/java/security/KeyFactory/
H A DFailover.java55 kf = KeyFactory.getInstance("FOO");
60 kf = KeyFactory.getInstance("FOO");
65 kf = KeyFactory.getInstance("FOO");
69 kf = KeyFactory.getInstance("FOO");
75 KeyPairGenerator kpg = KeyPairGenerator.getInstance("DSA");
79 kf = KeyFactory.getInstance("DSA");
82 kf = KeyFactory.getInstance("DSA");
85 kf = KeyFactory.getInstance("DSA");
88 kf = KeyFactory.getInstance("DSA");
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DCertStore.java46 * <code>getInstance</code> methods, passing in the type of
224 public static CertStore getInstance(String type, CertStoreParameters params) method in class:CertStore
228 Instance instance = GetInstance.getInstance("CertStore",
293 public static CertStore getInstance(String type, method in class:CertStore
298 Instance instance = GetInstance.getInstance("CertStore",
348 public static CertStore getInstance(String type, CertStoreParameters params, method in class:CertStore
352 Instance instance = GetInstance.getInstance("CertStore",
401 * <code>getInstance</code> methods, and want to provide a default
H A DCertificateFactory.java72 * CertificateFactory cf = CertificateFactory.getInstance("X.509");
85 * CertificateFactory cf = CertificateFactory.getInstance("X.509");
180 public static final CertificateFactory getInstance(String type) method in class:CertificateFactory
183 Instance instance = GetInstance.getInstance("CertificateFactory",
226 public static final CertificateFactory getInstance(String type, method in class:CertificateFactory
230 Instance instance = GetInstance.getInstance("CertificateFactory",
268 public static final CertificateFactory getInstance(String type, method in class:CertificateFactory
271 Instance instance = GetInstance.getInstance("CertificateFactory",
/openjdk7/jdk/test/javax/management/ObjectName/
H A DRepositoryWildcardTest.java55 mbs.createMBean(classname, ObjectName.getInstance(name));
72 mbs.unregisterMBean(ObjectName.getInstance(name));
90 mbs.queryNames(ObjectName.getInstance(name), null);
109 ObjectName.getInstance("d:k=abc"),
110 ObjectName.getInstance("d:k=abcd"),
111 ObjectName.getInstance("d:k=abcde"),
112 ObjectName.getInstance("d:k=abc,k2=v2"),
113 ObjectName.getInstance("d:k=abcd,k2=v2"),
114 ObjectName.getInstance("d:k=abcde,k2=v2"),
115 ObjectName.getInstance("
[all...]
/openjdk7/jdk/src/share/classes/javax/xml/crypto/dsig/keyinfo/
H A DKeyInfoFactory.java56 * static {@link #getInstance getInstance} methods, passing in the XML
60 * KeyInfoFactory factory = KeyInfoFactory.getInstance("DOM");
144 public static KeyInfoFactory getInstance(String mechanismType) { method in class:KeyInfoFactory
150 instance = GetInstance.getInstance
182 public static KeyInfoFactory getInstance(String mechanismType, method in class:KeyInfoFactory
192 instance = GetInstance.getInstance
228 public static KeyInfoFactory getInstance(String mechanismType, method in class:KeyInfoFactory
240 instance = GetInstance.getInstance
271 public static KeyInfoFactory getInstance() { method in class:KeyInfoFactory
[all...]

Completed in 209 milliseconds

1234567891011>>