Searched refs:getInstance (Results 226 - 250 of 1253) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/javax/crypto/EncryptedPrivateKeyInfo/
H A DGetAlgName.java55 SecretKeyFactory.getInstance(algo, "SunJCE");
57 Cipher c = Cipher.getInstance(algo, "SunJCE");
/openjdk7/jdk/src/share/classes/sun/rmi/runtime/
H A DRuntimeUtil.java43 * RuntimePermission("sun.rmi.runtime.RuntimeUtil.getInstance")
62 new RuntimePermission("sun.rmi.runtime.RuntimeUtil.getInstance");
110 return getInstance();
114 private static RuntimeUtil getInstance() { method in class:RuntimeUtil
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXKeyboardFocusManagerPeer.java42 public static XKeyboardFocusManagerPeer getInstance() { method in class:XKeyboardFocusManagerPeer
112 getInstance().getCurrentFocusOwner());
/openjdk7/jdk/test/sun/security/krb5/tools/
H A DKtabZero.java49 KeyTab.getInstance(NAME).save();
68 KeyTab kt = KeyTab.getInstance(NAME);
/openjdk7/jdk/test/sun/security/mscapi/
H A DRSAEncryptDecrypt.java41 KeyPairGenerator.getInstance("RSA", "SunMSCAPI");
50 cipher = Cipher.getInstance("RSA", "SunMSCAPI");
H A DShortRSAKeyWithinTLS.java77 KeyStore ks = KeyStore.getInstance("Windows-MY", "SunMSCAPI");
85 KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
88 TrustManagerFactory tmf = TrustManagerFactory.getInstance("SunX509");
91 SSLContext ctx = SSLContext.getInstance("TLS");
133 KeyStore ks = KeyStore.getInstance("Windows-MY", "SunMSCAPI");
138 KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
141 TrustManagerFactory tmf = TrustManagerFactory.getInstance("SunX509");
144 SSLContext ctx = SSLContext.getInstance("TLS");
/openjdk7/jdk/test/sun/security/pkcs11/KeyGenerator/
H A DDESParity.java51 kf = SecretKeyFactory.getInstance("DES", p);
62 kf = SecretKeyFactory.getInstance("DESede", p);
/openjdk7/jdk/test/sun/security/pkcs11/KeyStore/
H A DClientAuth.java83 SSLContext ctx = SSLContext.getInstance("TLS");
87 KeyStore ks = KeyStore.getInstance("JKS");
89 KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
95 KeyStore ts = KeyStore.getInstance("PKCS11", "SunPKCS11-nss");
97 TrustManagerFactory tmf = TrustManagerFactory.getInstance("SunX509");
141 SSLContext ctx = SSLContext.getInstance("TLS");
142 KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
147 KeyStore ks = KeyStore.getInstance("PKCS11", "SunPKCS11-nss");
150 kmf = KeyManagerFactory.getInstance("SunX509");
211 javax.crypto.Cipher.getInstance("RS
[all...]
/openjdk7/jdk/test/sun/security/pkcs11/MessageDigest/
H A DReinitDigest.java53 md = MessageDigest.getInstance("MD5", "SUN");
55 md = MessageDigest.getInstance("MD5", p);
/openjdk7/jdk/test/sun/security/pkcs11/Secmod/
H A DGetPrivateKey.java51 KeyStore ks = KeyStore.getInstance("PKCS11", p);
65 Signature signature = Signature.getInstance("MD5withRSA");
/openjdk7/jdk/test/sun/security/pkcs11/Signature/
H A DReinitSignature.java43 KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA", p);
48 Signature sig = Signature.getInstance("MD5withRSA", p);
H A DTestDSA.java87 Signature s = Signature.getInstance(alg, provider);
117 KeyFactory kf = KeyFactory.getInstance("DSA", provider);
147 Signature s = Signature.getInstance("SHA1withDSA", provider);
158 s = Signature.getInstance("RawDSA", provider);
159 MessageDigest md = MessageDigest.getInstance("SHA-1");
179 s = Signature.getInstance("SHA1withDSA", provider);
187 s = Signature.getInstance("RawDSA", provider);
/openjdk7/jdk/test/sun/security/pkcs11/ec/
H A DTestECDSA.java84 Signature s = Signature.getInstance(alg, provider);
101 Signature s = Signature.getInstance(alg, provider);
122 KeyPairGenerator kpg = KeyPairGenerator.getInstance("EC", provider);
147 KeyFactory kf = KeyFactory.getInstance("EC", provider);
177 Signature s = Signature.getInstance("SHA1withECDSA", provider);
189 s = Signature.getInstance("NONEwithECDSA", provider);
190 MessageDigest md = MessageDigest.getInstance("SHA-1");
210 s = Signature.getInstance("SHA1withECDSA", provider);
220 s = Signature.getInstance("NONEwithECDSA", provider);
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DSecretKeyFactory.java157 public static final SecretKeyFactory getInstance(String algorithm) method in class:SecretKeyFactory
200 public static final SecretKeyFactory getInstance(String algorithm, method in class:SecretKeyFactory
203 Instance instance = JceSecurity.getInstance("SecretKeyFactory",
241 public static final SecretKeyFactory getInstance(String algorithm, method in class:SecretKeyFactory
243 Instance instance = JceSecurity.getInstance("SecretKeyFactory",
266 * <code>getInstance</code> calls that created this
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/HandshakeOutStream/
H A DNullCerts.java142 KeyStore ks = KeyStore.getInstance("JKS");
143 KeyStore uks = KeyStore.getInstance("JKS");
144 SSLContext ctx = SSLContext.getInstance("TLS");
145 KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
146 TrustManagerFactory tmf = TrustManagerFactory.getInstance("SunX509");
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/
H A DDelegatedTaskWrongException.java141 KeyStore ks = KeyStore.getInstance("JKS");
142 KeyStore ts = KeyStore.getInstance("JKS");
149 KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
152 TrustManagerFactory tmf = TrustManagerFactory.getInstance("SunX509");
155 SSLContext sslCtx = SSLContext.getInstance("TLS");
/openjdk7/jdk/test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/
H A DExtendedKeySocket.java92 SSLContext ctx = SSLContext.getInstance("TLS");
94 KeyStore keyKS = KeyStore.getInstance("JKS");
97 KeyStore trustKS = KeyStore.getInstance("JKS");
100 KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
118 TrustManagerFactory tmf = TrustManagerFactory.getInstance("SunX509");
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DCertAndKeyGen.java75 keyGen = KeyPairGenerator.getInstance(keyType);
94 keyGen = KeyPairGenerator.getInstance(keyType);
97 keyGen = KeyPairGenerator.getInstance(keyType, providerName);
100 keyGen = KeyPairGenerator.getInstance(keyType);
305 Signature signature = Signature.getInstance(sigAlg);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/stax/
H A DStAXDocumentParser.java268 throw new NoSuchElementException(CommonResourceBundle.getInstance().getString("message.noMoreEvents"));
460 throw new FastInfosetException(CommonResourceBundle.getInstance().getString("message.IllegalStateDecodingEII"));
520 throw new XMLStreamException(CommonResourceBundle.getInstance().getString("message.eventTypeNotMatch", new Object[]{getEventTypeString(type)}));
522 throw new XMLStreamException(CommonResourceBundle.getInstance().getString("message.namespaceURINotMatch", new Object[]{namespaceURI}));
524 throw new XMLStreamException(CommonResourceBundle.getInstance().getString("message.localNameNotMatch", new Object[]{localName}));
539 CommonResourceBundle.getInstance().getString("message.mustBeOnSTARTELEMENT"), getLocation());
551 CommonResourceBundle.getInstance().getString("message.mustBeOnSTARTELEMENT"), getLocation());
565 throw new XMLStreamException(CommonResourceBundle.getInstance().getString("message.unexpectedEOF"));
568 CommonResourceBundle.getInstance().getString("message.getElementTextExpectTextOnly"), getLocation());
571 CommonResourceBundle.getInstance()
[all...]
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/resolver/
H A DResourceResolver.java64 * Method getInstance
72 public static final ResourceResolver getInstance(Attr uri, String baseURI) method in class:ResourceResolver
74 return getInstance(uri, baseURI, false);
78 * Method getInstance
87 public static final ResourceResolver getInstance( method in class:ResourceResolver
132 * Method getInstance
141 public static ResourceResolver getInstance( method in class:ResourceResolver
144 return getInstance(uri, baseURI, individualResolvers, false);
148 * Method getInstance
158 public static ResourceResolver getInstance( method in class:ResourceResolver
[all...]
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/RC2ArcFour/
H A DCipherKAT.java119 Cipher cipher = Cipher.getInstance(alg, p);
206 Cipher.getInstance("RC2", p);
207 Cipher.getInstance("RC4", p);
208 Cipher.getInstance("ARCFOUR", p);
209 KeyGenerator.getInstance("RC2", p);
210 KeyGenerator.getInstance("RC4", p);
211 KeyGenerator.getInstance("ARCFOUR", p);
/openjdk7/jdk/test/com/sun/crypto/provider/Mac/
H A DMacKAT.java117 Mac mac = Mac.getInstance(alg, p);
212 Mac.getInstance("HmacSHA256", p);
213 Mac.getInstance("HmacSHA384", p);
214 Mac.getInstance("HmacSHA512", p);
215 KeyGenerator.getInstance("HmacSHA256", p);
216 KeyGenerator.getInstance("HmacSHA384", p);
217 KeyGenerator.getInstance("HmacSHA512", p);
/openjdk7/jdk/test/sun/security/provider/DSA/
H A DTestDSA.java86 Signature s = Signature.getInstance(alg, provider);
108 KeyFactory kf = KeyFactory.getInstance("DSA", provider);
130 Signature s = Signature.getInstance("SHA1withDSA", provider);
141 s = Signature.getInstance("RawDSA", provider);
142 MessageDigest md = MessageDigest.getInstance("SHA-1");
162 s = Signature.getInstance("SHA1withDSA", provider);
170 s = Signature.getInstance("RawDSA", provider);
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509TrustManagerImpl/
H A DBasicConstraints.java373 CertificateFactory cf = CertificateFactory.getInstance("X.509");
376 KeyStore ks = KeyStore.getInstance("JKS");
410 KeyFactory kf = KeyFactory.getInstance("RSA");
422 CertPathValidator cv = CertPathValidator.getInstance("PKIX");
426 TrustManagerFactory tmf = TrustManagerFactory.getInstance(tmAlgorithm);
429 SSLContext ctx = SSLContext.getInstance("TLS");
430 KeyManagerFactory kmf = KeyManagerFactory.getInstance("NewSunX509");
/openjdk7/jdk/test/com/sun/crypto/provider/KeyAgreement/
H A DDHKeyAgreement2.java86 = AlgorithmParameterGenerator.getInstance("DH", SUNJCE);
103 KeyPairGenerator aliceKpairGen = KeyPairGenerator.getInstance("DH", SUNJCE);
112 AlgorithmParameters algParams = AlgorithmParameters.getInstance("DH", SUNJCE);
119 KeyAgreement aliceKeyAgree = KeyAgreement.getInstance("DH", SUNJCE);
130 KeyFactory bobKeyFac = KeyFactory.getInstance("DH", SUNJCE);
144 KeyPairGenerator bobKpairGen = KeyPairGenerator.getInstance("DH", SUNJCE);
154 KeyAgreement bobKeyAgree = KeyAgreement.getInstance("DH", SUNJCE);
166 KeyFactory aliceKeyFac = KeyFactory.getInstance("DH", SUNJCE);
233 Cipher desCipher = Cipher.getInstance("DES/ECB/PKCS5Padding");

Completed in 2418 milliseconds

1234567891011>>