Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getProvider (0.11 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            case Smb2Constants.SMB2_DIALECT_0302:
                signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, new byte[0] /* unimplemented */);
                m = Mac.getInstance("AESCMAC", Crypto.getProvider());
                break;
            case Smb2Constants.SMB2_DIALECT_0311:
                if ( preauthIntegrityHash == null ) {
                    throw new IllegalArgumentException("Missing preauthIntegrityHash for SMB 3.1");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Crypto.java

         */
        private Crypto () {}
    
    
        /**
         * 
         * @return MD4 digest
         */
        public static MessageDigest getMD4 () {
            try {
                return MessageDigest.getInstance("MD4", getProvider());
            }
            catch ( NoSuchAlgorithmException e ) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
    
        /**
         * 
         * @return MD5 digest
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            this.discover = discover;
        }
    
        @Override
        protected void configure() {
            Provider<PlexusContainer> containerProvider = getProvider(PlexusContainer.class);
            Provider<BeanLocator> beanLocatorProvider = getProvider(BeanLocator.class);
            injector = new BridgeInjectorImpl(beanLocatorProvider, binder());
            bindScope(injector, containerProvider, SessionScoped.class, SessionScope.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

        // May fail with ProviderException with root cause like
        // sun.security.pkcs11.wrapper.PKCS11Exception: CKR_SLOT_ID_INVALID
        val pkcs11 = Security.getProvider("SunPKCS11").configure(config)
        Security.addProvider(pkcs11)
    
        val callbackHandler = ConsoleCallbackHandler
    
        val builderList: List<KeyStore.Builder> =
          listOf(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            }
            List<String> subs = new ArrayList<>();
            subs.add("type=" + terminal.getType());
            if (terminal instanceof TerminalExt te) {
                subs.add("provider=" + te.getProvider().name());
            }
            if (terminal instanceof AbstractPosixTerminal pt) {
                subs.add("pty=" + pt.getPty().getClass().getName());
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  6. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            assertEquals(
                    "user_value",
                    result.getEffectiveToolchains()
                            .getToolchains()
                            .get(0)
                            .getProvides()
                            .get("key"));
            assertNotNull(result.getProblems());
            assertEquals(0, result.getProblems().size());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

        private val isConscryptPreferred: Boolean
          get() {
            val preferredProvider = Security.getProviders()[0].name
            return "Conscrypt" == preferredProvider
          }
    
        private val isOpenJSSEPreferred: Boolean
          get() {
            val preferredProvider = Security.getProviders()[0].name
            return "OpenJSSE" == preferredProvider
          }
    
        private val isBouncyCastlePreferred: Boolean
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

                <![CDATA[
        /**
         * Computes a hash value based on {@link #getType()} and {@link #getProvides()} values.
         */
        public int hashCode() {
            return java.util.Objects.hash(getType(), getProvides());
        } //-- int hashCode()
    
        /**
         * Checks equality based on {@link #getType()} and {@link #getProvides()} values.
         */
        public boolean equals(Object other) {
            if (this == other) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

                task.getGithubToken().set(project.getProviders().environmentVariable("GITHUB_TOKEN"));
                task.getReleaseNotes().set(extension.getReleaseNotes().getMarkdownFile());
                task.getMilestone().convention(project.getProviders().fileContents(project.getIsolated().getRootProject().getProjectDirectory().file("version.txt")).getAsText().map(String::trim));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 08:15:16 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

              if (System.getProperty("javax.net.debug") == null) {
                System.setProperty("javax.net.debug", "")
              }
            } else if (platformSystemProperty == CONSCRYPT_PROPERTY) {
              if (Security.getProviders()[0].name != "Conscrypt") {
                if (!Conscrypt.isAvailable()) {
                  System.err.println("Warning: Conscrypt not available")
                }
    
                val provider =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (1)
Back to top