uTools-Manuals/docs/java/javax/xml/crypto/dsig/XMLValidateContext.html

72 lines
5.4 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="header">
<div class="subTitle">
compact3
</div>
<div class="subTitle">
javax.xml.crypto.dsig
</div>
<h2 class="title" title="Interface XMLValidateContext">Interface XMLValidateContext</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
All Superinterfaces:
</dt>
<dd>
<span><a href="../../../../javax/xml/crypto/XMLCryptoContext.html" title="javax.xml.crypto中的接口">XMLCryptoContext</a></span>
</dd>
</dl>
<dl>
<dt>
所有已知实现类:
</dt>
<dd>
<span><a href="../../../../javax/xml/crypto/dsig/dom/DOMValidateContext.html" title="javax.xml.crypto.dsig.dom中的类">DOMValidateContext</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public interface <span class="typeNameLabel">XMLValidateContext</span>
extends <a href="../../../../javax/xml/crypto/XMLCryptoContext.html" title="interface in javax.xml.crypto">XMLCryptoContext</a></pre>
<div class="block">
<span>包含验证XML签名的上下文信息。</span>
<span>此接口主要用于类型安全。</span>
<p> <span>请注意, <code>XMLValidateContext</code>实例可以包含与其使用的XML签名结构特定的信息和状态。</span> <span>如果<code>XMLValidateContext</code>与不同的<code>XMLValidateContext</code>结构一起使用,则结果是不可预测的(例如,不应使用相同的<code>XMLValidateContext</code>实例来验证两个不同的<a href="../../../../javax/xml/crypto/dsig/XMLSignature.html" title="javax.xml.crypto.dsig中的接口"><code>XMLSignature</code></a>对象)。</span> </p>
<p> <span><b><a name="Supported Properties"></a>支持的属性</b></span> </p>
<p> <span>以下属性可以由应用程序使用<a href="../../../../javax/xml/crypto/XMLCryptoContext.html#setProperty-java.lang.String-java.lang.Object-"><code>setProperty</code></a>方法设置。</span> </p>
<ul>
<li> <span><code>javax.xml.crypto.dsig.cacheReference</code> :值必须是<a href="../../../../java/lang/Boolean.html" title="java.lang中的类"><code>Boolean</code></a></span> <span>该属性控制<a href="../../../../javax/xml/crypto/dsig/Reference.html#validate-javax.xml.crypto.dsig.XMLValidateContext-"><code>Reference.validate</code></a>方法是否将通过<a href="../../../../javax/xml/crypto/dsig/Reference.html#getDereferencedData--"><code>Reference.getDereferencedData</code></a><a href="../../../../javax/xml/crypto/dsig/Reference.html#getDigestInputStream--"><code>Reference.getDigestInputStream</code></a>方法缓存取消引用的内容和预消化输入以供后续检索。</span> <span>默认值(如果未指定)为<code>Boolean.FALSE</code></span> </li>
</ul>
</div>
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
1.6
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="../../../../javax/xml/crypto/dsig/XMLSignature.html#validate-javax.xml.crypto.dsig.XMLValidateContext-"><code>XMLSignature.validate(XMLValidateContext)</code></a>
<a href="../../../../javax/xml/crypto/dsig/Reference.html#validate-javax.xml.crypto.dsig.XMLValidateContext-"><code>Reference.validate(XMLValidateContext)</code></a>
</dd>
</dl> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- --> </a> <h3>方法摘要</h3>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.javax.xml.crypto.XMLCryptoContext">
<!-- --> </a> <h3>Methods inherited from interface javax.xml.crypto.<a href="../../../../javax/xml/crypto/XMLCryptoContext.html" title="interface in javax.xml.crypto">XMLCryptoContext</a></h3> <code><a href="../../../../javax/xml/crypto/XMLCryptoContext.html#get-java.lang.Object-">get</a>, <a href="../../../../javax/xml/crypto/XMLCryptoContext.html#getBaseURI--">getBaseURI</a>, <a href="../../../../javax/xml/crypto/XMLCryptoContext.html#getDefaultNamespacePrefix--">getDefaultNamespacePrefix</a>, <a href="../../../../javax/xml/crypto/XMLCryptoContext.html#getKeySelector--">getKeySelector</a>, <a href="../../../../javax/xml/crypto/XMLCryptoContext.html#getNamespacePrefix-java.lang.String-java.lang.String-">getNamespacePrefix</a>, <a href="../../../../javax/xml/crypto/XMLCryptoContext.html#getProperty-java.lang.String-">getProperty</a>, <a href="../../../../javax/xml/crypto/XMLCryptoContext.html#getURIDereferencer--">getURIDereferencer</a>, <a href="../../../../javax/xml/crypto/XMLCryptoContext.html#put-java.lang.Object-java.lang.Object-">put</a>, <a href="../../../../javax/xml/crypto/XMLCryptoContext.html#putNamespacePrefix-java.lang.String-java.lang.String-">putNamespacePrefix</a>, <a href="../../../../javax/xml/crypto/XMLCryptoContext.html#setBaseURI-java.lang.String-">setBaseURI</a>, <a href="../../../../javax/xml/crypto/XMLCryptoContext.html#setDefaultNamespacePrefix-java.lang.String-">setDefaultNamespacePrefix</a>, <a href="../../../../javax/xml/crypto/XMLCryptoContext.html#setKeySelector-javax.xml.crypto.KeySelector-">setKeySelector</a>, <a href="../../../../javax/xml/crypto/XMLCryptoContext.html#setProperty-java.lang.String-java.lang.Object-">setProperty</a>, <a href="../../../../javax/xml/crypto/XMLCryptoContext.html#setURIDereferencer-javax.xml.crypto.URIDereferencer-">setURIDereferencer</a></code></li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>