类的用途
javax.xml.crypto.KeySelector
使用 KeySelector 的包
-
KeySelector 在 javax.xml.crypto 中的用法
javax.xml.crypto 中返回 KeySelector 的方法修饰符和类型方法描述XMLCryptoContext.getKeySelector()返回用于查找键的键选择器。static KeySelectorKeySelector.singletonKeySelector(Key key) 返回始终选择指定键的KeySelector,而不管传递给它的KeyInfo。javax.xml.crypto 中的方法,参数类型为 KeySelector -
KeySelector 在 javax.xml.crypto.dom 中的用法
javax.xml.crypto.dom 中返回 KeySelector 的方法javax.xml.crypto.dom 中的方法,参数类型为 KeySelector -
KeySelector 在 javax.xml.crypto.dsig.dom 中的用法
javax.xml.crypto.dsig.dom 中的构造函数,参数类型为 KeySelector修饰符构造方法描述DOMSignContext(KeySelector ks, Node parent) 使用指定的键选择器和父节点创建一个DOMSignContext。DOMSignContext(KeySelector ks, Node parent, Node nextSibling) 使用指定的键选择器、父节点和下一个兄弟节点创建一个DOMSignContext。DOMValidateContext(KeySelector ks, Node node) 创建一个包含指定键选择器和节点的DOMValidateContext。