Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 java.xml.crypto.jmod - XML Crypto Module
JDK 11 java.xml.crypto.jmod is the JMOD file for JDK 11 XML (eXtensible Markup Language) Crypto module.
JDK 11 XML Crypto module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.xml.crypto.jmod.
JDK 11 XML Crypto module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 XML Crypto module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.xml.crypto.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/org/apache/xml/internal/security/keys/storage/StorageResolver.java
/* * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package com.sun.org.apache.xml.internal.security.keys.storage; import java.security.KeyStore; import java.security.cert.Certificate; import java.security.cert.X509Certificate; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import com.sun.org.apache.xml.internal.security.keys.storage.implementations.KeyStoreResolver; import com.sun.org.apache.xml.internal.security.keys.storage.implementations.SingleCertificateResolver; /** * This class collects customized resolvers for Certificates. */ public class StorageResolver { private static final com.sun.org.slf4j.internal.Logger LOG = com.sun.org.slf4j.internal.LoggerFactory.getLogger(StorageResolver.class); /** Field storageResolvers */ private List<StorageResolverSpi> storageResolvers; /** * Constructor StorageResolver * */ public StorageResolver() {} /** * Constructor StorageResolver * * @param resolver */ public StorageResolver(StorageResolverSpi resolver) { this.add(resolver); } /** * Method addResolver * * @param resolver */ public void add(StorageResolverSpi resolver) { if (storageResolvers == null) { storageResolvers = new ArrayList<>(); } this.storageResolvers.add(resolver); } /** * Constructor StorageResolver * * @param keyStore */ public StorageResolver(KeyStore keyStore) { this.add(keyStore); } /** * Method addKeyStore * * @param keyStore */ public void add(KeyStore keyStore) { try { this.add(new KeyStoreResolver(keyStore)); } catch (StorageResolverException ex) { LOG.error("Could not add KeyStore because of: ", ex); } } /** * Constructor StorageResolver * * @param x509certificate */ public StorageResolver(X509Certificate x509certificate) { this.add(x509certificate); } /** * Method addCertificate * * @param x509certificate */ public void add(X509Certificate x509certificate) { this.add(new SingleCertificateResolver(x509certificate)); } /** * Method getIterator * @return the iterator for the resolvers. */ public Iterator<Certificate> getIterator() { return new StorageResolverIterator(this.storageResolvers.iterator()); } /** * Class StorageResolverIterator * This iterates over all the Certificates found in all the resolvers. */ static class StorageResolverIterator implements Iterator<Certificate> { /** Field resolvers */ Iterator<StorageResolverSpi> resolvers = null; /** Field currentResolver */ Iterator<Certificate> currentResolver = null; /** * Constructor StorageResolverIterator * * @param resolvers */ public StorageResolverIterator(Iterator<StorageResolverSpi> resolvers) { this.resolvers = resolvers; currentResolver = findNextResolver(); } /** {@inheritDoc} */ public boolean hasNext() { if (currentResolver == null) { return false; } if (currentResolver.hasNext()) { return true; } currentResolver = findNextResolver(); return currentResolver != null; } /** {@inheritDoc} */ public Certificate next() { if (hasNext()) { return currentResolver.next(); } throw new NoSuchElementException(); } /** * Method remove */ public void remove() { throw new UnsupportedOperationException("Can't remove keys from KeyStore"); } // Find the next storage with at least one element and return its Iterator private Iterator<Certificate> findNextResolver() { while (resolvers.hasNext()) { StorageResolverSpi resolverSpi = resolvers.next(); Iterator<Certificate> iter = resolverSpi.getIterator(); if (iter.hasNext()) { return iter; } } return null; } } }
⏎ com/sun/org/apache/xml/internal/security/keys/storage/StorageResolver.java
Or download all of them as a single archive file:
File name: java.xml.crypto-11.0.1-src.zip File size: 539662 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.accessibility.jmod - Accessibility Module
2020-08-25, 75328👍, 0💬
Popular Posts:
What Is js.jar in Rhino JavaScript 1.7R5? js.jar in Rhino JavaScript 1.7R5 is the JAR file for Rhino...
What Is commons-fileupload-1.3.3 .jar?commons-fileupload-1.3.3 .jaris the JAR file for Apache Common...
What JAR files are required to run sax\Writer.java provided in the Apache Xerces package? 1 JAR file...
The Jakarta-ORO Java classes are a set of text-processing Java classes that provide Perl5 compatible...
Apache Log4j provides the interface that applications should code to and provides the adapter compon...