Searched refs:KeySelector (Results 1 - 13 of 13) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/xml/crypto/dsig/
H A DXMLSignContext.java30 import javax.xml.crypto.KeySelector;
H A DXMLSignature.java38 import javax.xml.crypto.KeySelector;
175 * Returns the result of the {@link KeySelector}, if specified, after
/openjdk7/jdk/src/share/classes/javax/xml/crypto/
H A DXMLCryptoContext.java72 * @see #setKeySelector(KeySelector)
74 KeySelector getKeySelector();
83 void setKeySelector(KeySelector ks);
H A DKeySelector.java26 * $Id: KeySelector.java,v 1.6 2005/05/10 15:47:42 mullan Exp $
47 public abstract class KeySelector { class
87 protected KeySelector() {} method in class:KeySelector
110 * communications failure) that prevented the <code>KeySelector</code>
120 * Returns a <code>KeySelector</code> that always selects the specified
127 public static KeySelector singletonKeySelector(Key key) {
131 private static class SingletonKeySelector extends KeySelector {
/openjdk7/jdk/src/share/classes/javax/xml/crypto/dsig/dom/
H A DDOMValidateContext.java30 import javax.xml.crypto.KeySelector;
73 public DOMValidateContext(KeySelector ks, Node node) {
83 * {@link KeySelector#singletonKeySelector singleton KeySelector} that
96 init(node, KeySelector.singletonKeySelector(validatingKey));
99 private void init(Node node, KeySelector ks) {
H A DDOMSignContext.java30 import javax.xml.crypto.KeySelector;
61 * {@link KeySelector#singletonKeySelector singleton KeySelector} that is
79 setKeySelector(KeySelector.singletonKeySelector(signingKey));
86 * {@link KeySelector#singletonKeySelector singleton KeySelector} that is
108 setKeySelector(KeySelector.singletonKeySelector(signingKey));
125 public DOMSignContext(KeySelector ks, Node parent) {
148 public DOMSignContext(KeySelector ks, Node parent, Node nextSibling) {
/openjdk7/jdk/test/javax/xml/crypto/dsig/
H A DValidationTests.java37 import javax.xml.crypto.KeySelector;
62 KeySelector ks;
63 Test(String file, KeySelector ks) {
69 static KeySelector skks;
78 private final static KeySelector SKKS = skks;
79 private final static KeySelector KVKS =
81 private final static KeySelector CKS =
83 private final static KeySelector RXKS =
85 private final static KeySelector XKS = null;
H A DKeySelectors.java45 * This is a class which supplies several KeySelector implementations
50 * KeySelector which would always return the secret key specified in its
53 static class SecretKeySelector extends KeySelector {
63 KeySelector.Purpose purpose,
88 * KeySelector which would retrieve the X509Certificate out of the
93 static class RawX509KeySelector extends KeySelector {
96 KeySelector.Purpose purpose,
123 if ((purpose != KeySelector.Purpose.VERIFY) &&
140 * KeySelector which would retrieve the public key out of the
145 static class KeyValueKeySelector extends KeySelector {
[all...]
H A DSignatureValidator.java49 boolean validate(String fn, KeySelector ks, boolean cache)
54 boolean validate(String fn, KeySelector ks, URIDereferencer ud,
H A DX509KeySelector.java45 * A <code>KeySelector</code> that returns {@link PublicKey}s. If the
51 * <p>This <code>KeySelector</code> uses the specified <code>KeyStore</code>
60 class X509KeySelector extends KeySelector {
124 * communications failure) that prevented the <code>KeySelector</code>
130 KeySelector.Purpose purpose, AlgorithmMethod method,
H A DGenerationTests.java56 import javax.xml.crypto.KeySelector;
86 private static KeySelector kvks = new KeySelectors.KeyValueKeySelector();
87 private static KeySelector sks;
401 KeySelector.singletonKeySelector(validatingKey), false);
791 (SignatureMethod sm, KeyInfo ki, Key signingKey, KeySelector ks,
839 KeySelector ks, boolean b64) throws Exception {
/openjdk7/jdk/src/share/classes/javax/xml/crypto/dom/
H A DDOMCryptoContext.java30 import javax.xml.crypto.KeySelector;
54 private KeySelector ks;
149 public KeySelector getKeySelector() {
153 public void setKeySelector(KeySelector ks) {
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/dom/
H A DDOMXMLSignature.java383 (ki, KeySelector.Purpose.SIGN,
531 (ki, KeySelector.Purpose.VERIFY, sm, validateContext);

Completed in 594 milliseconds