/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | NotificationListenerVerifierActivity.java | 258 MockListener.getInstance().resetData(); in tearDown() 264 List<String> result = new ArrayList<>(MockListener.getInstance().mPosted); in test() 333 MockListener.getInstance().resetData(); in tearDown() 412 MockListener.getInstance().resetData(); in tearDown() 485 MockListener.getInstance().resetData(); in tearDown() 553 MockListener.getInstance().resetData(); in tearDown() 583 List<JSONObject> result = new ArrayList<>(MockListener.getInstance().getPosted()); in test() 641 MockListener.getInstance().resetData(); in tearDown() 662 List<JSONObject> result = new ArrayList<>(MockListener.getInstance().getPosted()); in test() 706 MockListener.getInstance().resetData(); in tearDown() [all …]
|
D | ConditionProviderVerifierActivity.java | 173 if (MockConditionProvider.getInstance().isConnected() in test() 174 && MockConditionProvider.getInstance().isBound()) { in test() 206 MockConditionProvider.getInstance().requestUnbind(); in test() 209 if (MockConditionProvider.getInstance() == null || in test() 210 !MockConditionProvider.getInstance().isConnected()) { in test() 240 if (MockConditionProvider.getInstance().isConnected() in test() 241 && MockConditionProvider.getInstance().isBound()) { in test() 286 MockConditionProvider.getInstance().resetData(); in tearDown() 332 MockConditionProvider.getInstance().resetData(); in tearDown() 379 MockConditionProvider.getInstance().resetData(); in tearDown() [all …]
|
D | AttentionManagementVerifierActivity.java | 171 if (MockListener.getInstance() == null in test() 172 || !MockListener.getInstance().isConnected) { in test() 264 List<JSONObject> result = new ArrayList<>(MockListener.getInstance().getPosted()); in test() 304 MockListener.getInstance().resetData(); in tearDown() 324 List<JSONObject> result = new ArrayList<>(MockListener.getInstance().getPosted()); in test() 363 MockListener.getInstance().resetData(); in tearDown() 383 List<JSONObject> result = new ArrayList<>(MockListener.getInstance().getPosted()); in test() 422 MockListener.getInstance().resetData(); in tearDown() 442 List<JSONObject> result = new ArrayList<>(MockListener.getInstance().getPosted()); in test() 481 MockListener.getInstance().resetData(); in tearDown() [all …]
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | GeolocationTest.java | 164 GeolocationPermissions.getInstance().clearAll(); in setUp() 462 GeolocationPermissions.getInstance().getAllowed(URL_1, trueCheck); in testSimpleGeolocationRequestAcceptAlways() 467 GeolocationPermissions.getInstance().getOrigins(originCheck); in testSimpleGeolocationRequestAcceptAlways() 478 GeolocationPermissions.getInstance().getOrigins(originCheck); in testSimpleGeolocationRequestAcceptAlways() 481 GeolocationPermissions.getInstance().clear(URL_1); in testSimpleGeolocationRequestAcceptAlways() 484 GeolocationPermissions.getInstance().getOrigins(originCheck); in testSimpleGeolocationRequestAcceptAlways() 495 GeolocationPermissions.getInstance().getAllowed(URL_2, falseCheck); in testGeolocationPermissions() 498 GeolocationPermissions.getInstance().getOrigins(originCheck); in testGeolocationPermissions() 502 GeolocationPermissions.getInstance().clear(URL_2); in testGeolocationPermissions() 505 GeolocationPermissions.getInstance().getOrigins(originCheck); in testGeolocationPermissions() [all …]
|
D | TracingControllerTest.java | 145 TracingController.getInstance().stop(null, singleThreadExecutor); 149 return !TracingController.getInstance().isTracing(); 206 TracingController tracingController = TracingController.getInstance(); 217 TracingController tracingController = TracingController.getInstance(); 238 TracingController tracingController = TracingController.getInstance(); 259 TracingController tracingController = TracingController.getInstance(); 280 TracingController tracingController = TracingController.getInstance(); 293 TracingController tracingController = TracingController.getInstance();
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | ConditionProviderServiceTest.java | 130 pollForSubscribe(SecondaryConditionProviderService.getInstance()); in testUnboundCPSMaintainsCondition_addsNewRule() 136 SecondaryConditionProviderService.getInstance().requestUnbind(); in testUnboundCPSMaintainsCondition_addsNewRule() 162 pollForSubscribe(LegacyConditionProviderService.getInstance()); in testUnboundCPSMaintainsCondition_otherConditionChanges() 165 pollForSubscribe(SecondaryConditionProviderService.getInstance()); in testUnboundCPSMaintainsCondition_otherConditionChanges() 171 SecondaryConditionProviderService.getInstance().requestUnbind(); in testUnboundCPSMaintainsCondition_otherConditionChanges() 177 ((LegacyConditionProviderService) LegacyConditionProviderService.getInstance()) in testUnboundCPSMaintainsCondition_otherConditionChanges() 199 pollForSubscribe(LegacyConditionProviderService.getInstance()); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges() 202 pollForSubscribe(SecondaryConditionProviderService.getInstance()); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges() 208 SecondaryConditionProviderService.getInstance().requestUnbind(); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges() 230 LegacyConditionProviderService.getInstance().requestUnbind(); in testRequestRebindWhenLostAccess() [all …]
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TimeKeyListenerTest.java | 56 final TimeKeyListener emptyListener1 = TimeKeyListener.getInstance(); in testGetInstance() 57 final TimeKeyListener emptyListener2 = TimeKeyListener.getInstance(); in testGetInstance() 58 final TimeKeyListener nullListener = TimeKeyListener.getInstance(null); in testGetInstance() 66 final TimeKeyListener usListener1 = TimeKeyListener.getInstance(Locale.US); in testGetInstance() 67 final TimeKeyListener usListener2 = TimeKeyListener.getInstance(new Locale("en", "US")); in testGetInstance() 68 final TimeKeyListener irListener = TimeKeyListener.getInstance( in testGetInstance() 121 TimeKeyListener listener = TimeKeyListener.getInstance(); in testGetInputType() 125 listener = TimeKeyListener.getInstance(Locale.US); in testGetInputType() 127 listener = TimeKeyListener.getInstance(Locale.UK); in testGetInputType() 132 listener = TimeKeyListener.getInstance(Locale.forLanguageTag("fa-IR")); in testGetInputType() [all …]
|
D | DateTimeKeyListenerTest.java | 59 final DateTimeKeyListener emptyListener1 = DateTimeKeyListener.getInstance(); in testGetInstance() 60 final DateTimeKeyListener emptyListener2 = DateTimeKeyListener.getInstance(); in testGetInstance() 61 final DateTimeKeyListener nullListener = DateTimeKeyListener.getInstance(null); in testGetInstance() 69 final DateTimeKeyListener usListener1 = DateTimeKeyListener.getInstance(Locale.US); in testGetInstance() 70 final DateTimeKeyListener usListener2 = DateTimeKeyListener.getInstance( in testGetInstance() 72 final DateTimeKeyListener irListener = DateTimeKeyListener.getInstance( in testGetInstance() 125 DateTimeKeyListener listener = DateTimeKeyListener.getInstance(); in testGetInputType() 129 listener = DateTimeKeyListener.getInstance(Locale.US); in testGetInputType() 131 listener = DateTimeKeyListener.getInstance(Locale.UK); in testGetInputType() 136 listener = DateTimeKeyListener.getInstance(Locale.forLanguageTag("fa-IR")); in testGetInputType() [all …]
|
D | DigitsKeyListenerTest.java | 87 DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(); in testFilter1() 145 DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(true, false); in testFilter2() 244 DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(false, true); in testFilter3() 324 DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(true, true); in testFilter4() 434 DigitsKeyListener.getInstance(Locale.forLanguageTag("fa-IR"), true, true); in testFilter4_internationalized() 551 final DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(); in testDigitsKeyListener1() 586 final DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(true, false); in testDigitsKeyListener2() 629 final DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(false, true); in testDigitsKeyListener3() 674 final DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(true, true); in testDigitsKeyListener4() 716 final DigitsKeyListener digitsKeyListener = DigitsKeyListener.getInstance(accepted); in testDigitsKeyListener5() [all …]
|
D | TextKeyListenerTest.java | 120 TextKeyListener listener1 = TextKeyListener.getInstance(true, Capitalize.WORDS); in testGetInstance1() 121 TextKeyListener listener2 = TextKeyListener.getInstance(true, Capitalize.WORDS); in testGetInstance1() 122 TextKeyListener listener3 = TextKeyListener.getInstance(false, Capitalize.WORDS); in testGetInstance1() 123 TextKeyListener listener4 = TextKeyListener.getInstance(true, Capitalize.CHARACTERS); in testGetInstance1() 141 TextKeyListener listener1 = TextKeyListener.getInstance(); in testGetInstance2() 142 TextKeyListener listener2 = TextKeyListener.getInstance(); in testGetInstance2() 154 TextKeyListener textKeyListener = TextKeyListener.getInstance(); in testOnSpanChanged() 163 TextKeyListener textKeyListener = TextKeyListener.getInstance(); in testOnSpanChangedNull() 208 = TextKeyListener.getInstance(false, Capitalize.NONE); in testPressKey() 239 = TextKeyListener.getInstance(false, Capitalize.NONE); in testOnKeyOther() [all …]
|
D | MultiTapKeyListenerTest.java | 98 = MultiTapKeyListener.getInstance(true, Capitalize.CHARACTERS); in testOnSpanChanged() 112 MultiTapKeyListener keyListener = MultiTapKeyListener.getInstance(false, Capitalize.NONE); in testOnKeyDown_capitalizeNone() 134 MultiTapKeyListener keyListener = MultiTapKeyListener.getInstance(false, in testOnKeyDown_capitalizeCharacters() 157 MultiTapKeyListener keyListener = MultiTapKeyListener.getInstance(false, in testOnKeyDown_capitalizeSentences() 185 MultiTapKeyListener keyListener = MultiTapKeyListener.getInstance(false, in testOnKeyDown_capitalizeWords() 242 MultiTapKeyListener listener1 = MultiTapKeyListener.getInstance(false, Capitalize.NONE); in testGetInstance() 243 MultiTapKeyListener listener2 = MultiTapKeyListener.getInstance(false, Capitalize.NONE); in testGetInstance() 244 MultiTapKeyListener listener3 = MultiTapKeyListener.getInstance(false, Capitalize.WORDS); in testGetInstance() 245 MultiTapKeyListener listener4 = MultiTapKeyListener.getInstance(true, Capitalize.NONE); in testGetInstance() 266 MultiTapKeyListener listener = MultiTapKeyListener.getInstance(false, Capitalize.NONE); in testGetInputType() [all …]
|
D | QwertyKeyListenerTest.java | 69 final QwertyKeyListener keyListener = QwertyKeyListener.getInstance(false, Capitalize.NONE); in testOnKeyDown_capitalizeNone() 91 final QwertyKeyListener keyListener = QwertyKeyListener.getInstance(false, in testOnKeyDown_capitalizeCharacters() 114 final QwertyKeyListener keyListener = QwertyKeyListener.getInstance(false, in testOnKeyDown_capitalizeSentences() 143 final QwertyKeyListener keyListener = QwertyKeyListener.getInstance(false, in testOnKeyDown_capitalizeWords() 185 final QwertyKeyListener listener1 = QwertyKeyListener.getInstance(true, Capitalize.WORDS); in testGetInstance() 186 final QwertyKeyListener listener2 = QwertyKeyListener.getInstance(true, Capitalize.WORDS); in testGetInstance() 187 final QwertyKeyListener listener3 = QwertyKeyListener.getInstance(false, Capitalize.WORDS); in testGetInstance() 188 final QwertyKeyListener listener4 = QwertyKeyListener.getInstance(true, in testGetInstance() 243 QwertyKeyListener listener = QwertyKeyListener.getInstance(false, Capitalize.NONE); in testGetInputType() 246 listener = QwertyKeyListener.getInstance(false, Capitalize.CHARACTERS); in testGetInputType()
|
D | DateKeyListenerTest.java | 58 final DateKeyListener emptyListener1 = DateKeyListener.getInstance(); in testGetInstance() 59 final DateKeyListener emptyListener2 = DateKeyListener.getInstance(); in testGetInstance() 60 final DateKeyListener nullListener = DateKeyListener.getInstance(null); in testGetInstance() 68 final DateKeyListener usListener1 = DateKeyListener.getInstance(Locale.US); in testGetInstance() 69 final DateKeyListener usListener2 = DateKeyListener.getInstance(new Locale("en", "US")); in testGetInstance() 70 final DateKeyListener irListener = DateKeyListener.getInstance( in testGetInstance() 148 final DateKeyListener dateKeyListener = DateKeyListener.getInstance(); in testDateTimeKeyListener()
|
D | BaseKeyListenerTest.java | 58 Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING); in verifyBackspace() 79 content = Editable.Factory.getInstance().newEditable(testText); in verifyBackspace() 97 content = Editable.Factory.getInstance().newEditable(testText); in verifyBackspace() 121 Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace_withAlt() 129 content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace_withAlt() 136 content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace_withAlt() 186 Editable content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl() 194 content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl() 229 content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl() 252 content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl() [all …]
|
D | CharacterPickerDialogTest.java | 57 final Editable content = Editable.Factory.getInstance().newEditable(str); in testConstructor() 66 final Editable content = Editable.Factory.getInstance().newEditable(str); in testConstructorNullContext() 76 Editable text = Editable.Factory.getInstance().newEditable(str); in testOnItemClick() 101 text = Editable.Factory.getInstance().newEditable(str); in testOnItemClick() 118 final Editable content = Editable.Factory.getInstance().newEditable(str); in testOnClick()
|
D | DialerKeyListenerTest.java | 73 assertNotNull(DialerKeyListener.getInstance()); in testGetInstance() 75 DialerKeyListener listener1 = DialerKeyListener.getInstance(); in testGetInstance() 76 DialerKeyListener listener2 = DialerKeyListener.getInstance(); in testGetInstance() 93 DialerKeyListener listener = DialerKeyListener.getInstance(); in testGetInputType()
|
D | SingleLineTransformationMethodTest.java | 53 SingleLineTransformationMethod method0 = SingleLineTransformationMethod.getInstance(); in testGetInstance() 56 SingleLineTransformationMethod method1 = SingleLineTransformationMethod.getInstance(); in testGetInstance() 70 SingleLineTransformationMethod method = SingleLineTransformationMethod.getInstance(); in testGetTransformation() 82 final SingleLineTransformationMethod method = SingleLineTransformationMethod.getInstance(); in testSubsequence_doesNotThrowExceptionWithParagraphSpans()
|
D | MetaKeyKeyListenerTest.java | 56 final Editable content = Editable.Factory.getInstance().newEditable(str); in testPressKey() 82 final Editable content = Editable.Factory.getInstance().newEditable(str); in testReleaseKey() 106 Spannable content = Editable.Factory.getInstance().newEditable(str); in testAdjustMetaAfterKeypress() 115 content = Editable.Factory.getInstance().newEditable(str); in testAdjustMetaAfterKeypress() 124 content = Editable.Factory.getInstance().newEditable(str); in testAdjustMetaAfterKeypress() 151 Spannable text = Editable.Factory.getInstance().newEditable(str); in testResetMetaState() 159 text = Editable.Factory.getInstance().newEditable(str); in testResetMetaState() 167 text = Editable.Factory.getInstance().newEditable(str); in testResetMetaState() 313 Editable text = Editable.Factory.getInstance().newEditable(str); in testClearMetaKeyState() 321 text = Editable.Factory.getInstance().newEditable(str); in testClearMetaKeyState() [all …]
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | ImportWrappedKeyTest.java | 112 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in testKeyStore_ImportWrappedKey() 119 Cipher c = Cipher.getInstance("AES/ECB/PKCS7Padding"); in testKeyStore_ImportWrappedKey() 123 c = Cipher.getInstance("AES/ECB/PKCS7Padding"); in testKeyStore_ImportWrappedKey() 151 KeyGenerator kg = KeyGenerator.getInstance("DESEDE"); in testKeyStore_ImportWrappedKey_3DES() 175 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in testKeyStore_ImportWrappedKey_3DES() 182 Cipher c = Cipher.getInstance("DESede/CBC/PKCS7Padding"); in testKeyStore_ImportWrappedKey_3DES() 187 c = Cipher.getInstance("DESede/CBC/PKCS7Padding"); in testKeyStore_ImportWrappedKey_3DES() 199 KeyGenerator kg = KeyGenerator.getInstance("DESEDE"); in testKeyStore_ImportWrappedKey_3DES_StrongBox() 212 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in testKeyStore_ImportWrappedKey_3DES_StrongBox() 219 Cipher c = Cipher.getInstance("DESede/CBC/PKCS7Padding"); in testKeyStore_ImportWrappedKey_3DES_StrongBox() [all …]
|
D | AndroidKeyStoreTest.java | 728 KeyStore ksTemp = KeyStore.getInstance("AndroidKeyStore"); in setUp() 737 mKeyStore = KeyStore.getInstance("AndroidKeyStore"); in setUp() 749 KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); in tearDown() 762 KeyFactory kf = KeyFactory.getInstance(keyType); in generatePrivateKey() 767 CertificateFactory cf = CertificateFactory.getInstance("X.509"); in generateCertificate() 918 CertificateFactory f = CertificateFactory.getInstance("X.509"); in testKeyStore_GetCertificate_Single_Unencrypted_Success() 947 CertificateFactory f = CertificateFactory.getInstance("X.509"); in testKeyStore_GetCertificateAlias_PrivateKeyEntry_Unencrypted_Success() 974 CertificateFactory f = CertificateFactory.getInstance("X.509"); in testKeyStore_GetCertificateAlias_NonExist_Empty_Unencrypted_Failure() 1110 KeyFactory keyFact = KeyFactory.getInstance(keyType); in assertPrivateKeyEntryEquals() 1113 CertificateFactory certFact = CertificateFactory.getInstance("X.509"); in assertPrivateKeyEntryEquals() [all …]
|
D | SignatureTest.java | 371 Signature signature = Signature.getInstance(sigAlgorithm); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenSigning() 387 Signature signature = Signature.getInstance(sigAlgorithm); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenVerifying() 409 Signature signature = Signature.getInstance(sigAlgorithm, provider); in testValidSignatureGeneratedForEmptyMessage() 436 Signature signature = Signature.getInstance(sigAlgorithm, provider); in testEmptySignatureDoesNotVerify() 461 Signature signature = Signature.getInstance(sigAlgorithm, provider); in testSignatureGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore() 493 Signature signature = Signature.getInstance(sigAlgorithm, keystoreProvider); in testSignatureGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider() 503 signature = Signature.getInstance(sigAlgorithm); in testSignatureGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider() 540 signature = Signature.getInstance(sigAlgorithm); in testSignatureGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore() 583 Signature signature = Signature.getInstance(sigAlgorithm, provider); in testEntropyConsumption() 649 Signature signature = Signature.getInstance(algorithm, provider); in testSmallMsgKat() [all …]
|
D | CipherTest.java | 345 Cipher cipher = Cipher.getInstance(algorithm, provider); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting() 350 cipher = Cipher.getInstance(algorithm); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting() 356 cipher = Cipher.getInstance(algorithm); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting() 383 Cipher cipher = Cipher.getInstance(algorithm); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting() 386 cipher = Cipher.getInstance(algorithm); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting() 412 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEmptyPlaintextEncryptsAndDecrypts() 425 cipher = Cipher.getInstance(algorithm, provider); in testEmptyPlaintextEncryptsAndDecrypts() 462 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEncryptsAndDecryptsInterrupted() 476 cipher = Cipher.getInstance(algorithm, provider); in testEncryptsAndDecryptsInterrupted() 565 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEmptyPlaintextEncryptsAndDecryptsWhenUnlockedRequired() [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | BidiFormatterTest.java | 43 private static final BidiFormatter LTR_FMT = BidiFormatter.getInstance(false /* LTR context */); 44 private static final BidiFormatter RTL_FMT = BidiFormatter.getInstance(true /* RTL context */); 65 assertEquals(false, BidiFormatter.getInstance(Locale.ENGLISH).isRtlContext()); in testIsRtlContext() 66 assertEquals(true, BidiFormatter.getInstance(true).isRtlContext()); in testIsRtlContext() 72 BidiFormatter defaultFormatterInstance = BidiFormatter.getInstance(); in testCachedInstances() 75 assertEquals(LTR_FMT, BidiFormatter.getInstance(false)); in testCachedInstances() 76 assertEquals(RTL_FMT, BidiFormatter.getInstance(true)); in testCachedInstances() 78 assertEquals(LTR_FMT, BidiFormatter.getInstance(false)); in testCachedInstances() 79 assertEquals(RTL_FMT, BidiFormatter.getInstance(Locale.forLanguageTag("ar"))); in testCachedInstances() 90 assertEquals(true, BidiFormatter.getInstance(true).isRtl(HE)); in testIsRtl() [all …]
|
D | Spannable_FactoryTest.java | 40 Factory factory = Spannable.Factory.getInstance(); in testNewSpannable() 50 Factory factory = Spannable.Factory.getInstance(); in testNewSpannableNull() 56 Spannable.Factory factory = Spannable.Factory.getInstance(); in testGetInstance() 58 assertSame(factory, Spannable.Factory.getInstance()); in testGetInstance()
|
/cts/tests/security/src/android/keystore/cts/ |
D | CertificateUtils.java | 51 X500Name.getInstance(issuer.getEncoded()), in createCertificate() 55 X500Name.getInstance(subject.getEncoded()), in createCertificate() 56 SubjectPublicKeyInfo.getInstance(keyPair.getPublic().getEncoded())); in createCertificate() 74 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in createCertificate()
|