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
⏎ javax/xml/crypto/dsig/dom/DOMValidateContext.java
/* * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ /* * $Id: DOMValidateContext.java,v 1.8 2005/05/10 16:31:14 mullan Exp $ */ package javax.xml.crypto.dsig.dom; import javax.xml.crypto.KeySelector; import javax.xml.crypto.dom.DOMCryptoContext; import javax.xml.crypto.dsig.XMLSignature; import javax.xml.crypto.dsig.XMLSignatureFactory; import javax.xml.crypto.dsig.XMLValidateContext; import java.security.Key; import org.w3c.dom.Node; /** * A DOM-specific {@link XMLValidateContext}. This class contains additional * methods to specify the location in a DOM tree where an {@link XMLSignature} * is to be unmarshalled and validated from. * * <p>Note that the behavior of an unmarshalled <code>XMLSignature</code> * is undefined if the contents of the underlying DOM tree are modified by the * caller after the <code>XMLSignature</code> is created. * * <p>Also, note that <code>DOMValidateContext</code> instances can contain * information and state specific to the XML signature structure it is * used with. The results are unpredictable if a * <code>DOMValidateContext</code> is used with different signature structures * (for example, you should not use the same <code>DOMValidateContext</code> * instance to validate two different {@link XMLSignature} objects). * * @author Sean Mullan * @author JSR 105 Expert Group * @since 1.6 * @see XMLSignatureFactory#unmarshalXMLSignature(XMLValidateContext) */ public class DOMValidateContext extends DOMCryptoContext implements XMLValidateContext { private Node node; /** * Creates a <code>DOMValidateContext</code> containing the specified key * selector and node. * * @param ks a key selector for finding a validation key * @param node the node * @throws NullPointerException if <code>ks</code> or <code>node</code> is * <code>null</code> */ public DOMValidateContext(KeySelector ks, Node node) { if (ks == null) { throw new NullPointerException("key selector is null"); } init(node, ks); } /** * Creates a <code>DOMValidateContext</code> containing the specified key * and node. The validating key will be stored in a * {@link KeySelector#singletonKeySelector singleton KeySelector} that * is returned when the {@link #getKeySelector getKeySelector} * method is called. * * @param validatingKey the validating key * @param node the node * @throws NullPointerException if <code>validatingKey</code> or * <code>node</code> is <code>null</code> */ public DOMValidateContext(Key validatingKey, Node node) { if (validatingKey == null) { throw new NullPointerException("validatingKey is null"); } init(node, KeySelector.singletonKeySelector(validatingKey)); } private void init(Node node, KeySelector ks) { if (node == null) { throw new NullPointerException("node is null"); } this.node = node; super.setKeySelector(ks); if (System.getSecurityManager() != null) { super.setProperty("org.jcp.xml.dsig.secureValidation", Boolean.TRUE); } } /** * Sets the node. * * @param node the node * @throws NullPointerException if <code>node</code> is <code>null</code> * @see #getNode */ public void setNode(Node node) { if (node == null) { throw new NullPointerException(); } this.node = node; } /** * Returns the node. * * @return the node (never <code>null</code>) * @see #setNode(Node) */ public Node getNode() { return node; } }
⏎ javax/xml/crypto/dsig/dom/DOMValidateContext.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, 76268👍, 0💬
Popular Posts:
What Is jaxb-impl-2.1.12.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Jav...
How to run "javac" command from JDK tools.jar file? "javac" is the Java compiler command that allows...
How to compare performances of various XML parsers with the jaxp\SourceValidator.jav aprovided in th...
JDK 11 jdk.internal.le.jmod is the JMOD file for JDK 11 Internal Line Editing module. JDK 11 Interna...
JDK 11 jdk.aot.jmod is the JMOD file for JDK 11 Ahead-of-Time (AOT) Compiler module. JDK 11 AOT Comp...