Java Code Examples for com.sun.org.apache.xml.internal.security.utils.XMLUtils#selectDs11Node()

The following examples show how to use com.sun.org.apache.xml.internal.security.utils.XMLUtils#selectDs11Node() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: KeyInfo.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemDEREncodedKeyValue
 *
 * @param i
 * @return the asked DEREncodedKeyValue element, null if the index is too big
 * @throws XMLSecurityException
 */
public DEREncodedKeyValue itemDEREncodedKeyValue(int i) throws XMLSecurityException {
    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_DERENCODEDKEYVALUE, i);

    if (e != null) {
        return new DEREncodedKeyValue(e, this.baseURI);
    }
    return null;
}
 
Example 2
Source File: KeyInfo.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemDEREncodedKeyValue
 *
 * @param i
 * @return the asked DEREncodedKeyValue element, null if the index is too big
 * @throws XMLSecurityException
 */
public DEREncodedKeyValue itemDEREncodedKeyValue(int i) throws XMLSecurityException {
    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_DERENCODEDKEYVALUE, i);

    if (e != null) {
        return new DEREncodedKeyValue(e, this.baseURI);
    }
    return null;
}
 
Example 3
Source File: KeyInfo.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemDEREncodedKeyValue
 *
 * @param i
 * @return the asked DEREncodedKeyValue element, null if the index is too big
 * @throws XMLSecurityException
 */
public DEREncodedKeyValue itemDEREncodedKeyValue(int i) throws XMLSecurityException {
    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_DERENCODEDKEYVALUE, i);

    if (e != null) {
        return new DEREncodedKeyValue(e, this.baseURI);
    }
    return null;
}
 
Example 4
Source File: KeyInfo.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemDEREncodedKeyValue
 *
 * @param i
 * @return the asked DEREncodedKeyValue element, null if the index is too big
 * @throws XMLSecurityException
 */
public DEREncodedKeyValue itemDEREncodedKeyValue(int i) throws XMLSecurityException {
    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_DERENCODEDKEYVALUE, i);

    if (e != null) {
        return new DEREncodedKeyValue(e, this.baseURI);
    }
    return null;
}
 
Example 5
Source File: KeyInfo.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemDEREncodedKeyValue
 *
 * @param i
 * @return the asked DEREncodedKeyValue element, null if the index is too big
 * @throws XMLSecurityException
 */
public DEREncodedKeyValue itemDEREncodedKeyValue(int i) throws XMLSecurityException {
    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_DERENCODEDKEYVALUE, i);

    if (e != null) {
        return new DEREncodedKeyValue(e, this.baseURI);
    }
    return null;
}
 
Example 6
Source File: X509Data.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemDigest
 *
 * @param i
 * @return the X509Digest, null if not present
 * @throws XMLSecurityException
 */
public XMLX509Digest itemDigest(int i) throws XMLSecurityException {

    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_X509DIGEST, i);

    if (e != null) {
        return new XMLX509Digest(e, this.baseURI);
    }
    return null;
}
 
Example 7
Source File: KeyInfo.java    From jdk8u-dev-jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemDEREncodedKeyValue
 *
 * @param i
 * @return the asked DEREncodedKeyValue element, null if the index is too big
 * @throws XMLSecurityException
 */
public DEREncodedKeyValue itemDEREncodedKeyValue(int i) throws XMLSecurityException {
    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_DERENCODEDKEYVALUE, i);

    if (e != null) {
        return new DEREncodedKeyValue(e, this.baseURI);
    }
    return null;
}
 
Example 8
Source File: KeyInfo.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemKeyInfoReference
 *
 * @param i
 * @return the asked KeyInfoReference element, null if the index is too big
 * @throws XMLSecurityException
 */
public KeyInfoReference itemKeyInfoReference(int i) throws XMLSecurityException {
    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_KEYINFOREFERENCE, i);

    if (e != null) {
        return new KeyInfoReference(e, this.baseURI);
    }
    return null;
}
 
Example 9
Source File: X509Data.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/**
 * Method itemDigest
 *
 * @param i
 * @return the X509Digest, null if not present
 * @throws XMLSecurityException
 */
public XMLX509Digest itemDigest(int i) throws XMLSecurityException {

    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_X509DIGEST, i);

    if (e != null) {
        return new XMLX509Digest(e, this.baseURI);
    }
    return null;
}
 
Example 10
Source File: KeyInfo.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemKeyInfoReference
 *
 * @param i
 * @return the asked KeyInfoReference element, null if the index is too big
 * @throws XMLSecurityException
 */
public KeyInfoReference itemKeyInfoReference(int i) throws XMLSecurityException {
    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_KEYINFOREFERENCE, i);

    if (e != null) {
        return new KeyInfoReference(e, this.baseURI);
    }
    return null;
}
 
Example 11
Source File: X509Data.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemDigest
 *
 * @param i
 * @return the X509Digest, null if not present
 * @throws XMLSecurityException
 */
public XMLX509Digest itemDigest(int i) throws XMLSecurityException {

    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_X509DIGEST, i);

    if (e != null) {
        return new XMLX509Digest(e, this.baseURI);
    }
    return null;
}
 
Example 12
Source File: X509Data.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemDigest
 *
 * @param i
 * @return the X509Digest, null if not present
 * @throws XMLSecurityException
 */
public XMLX509Digest itemDigest(int i) throws XMLSecurityException {

    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_X509DIGEST, i);

    if (e != null) {
        return new XMLX509Digest(e, this.baseURI);
    }
    return null;
}
 
Example 13
Source File: KeyInfo.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemKeyInfoReference
 *
 * @param i
 * @return the asked KeyInfoReference element, null if the index is too big
 * @throws XMLSecurityException
 */
public KeyInfoReference itemKeyInfoReference(int i) throws XMLSecurityException {
    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_KEYINFOREFERENCE, i);

    if (e != null) {
        return new KeyInfoReference(e, this.baseURI);
    }
    return null;
}
 
Example 14
Source File: KeyInfo.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemDEREncodedKeyValue
 *
 * @param i
 * @return the asked DEREncodedKeyValue element, null if the index is too big
 * @throws XMLSecurityException
 */
public DEREncodedKeyValue itemDEREncodedKeyValue(int i) throws XMLSecurityException {
    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_DERENCODEDKEYVALUE, i);

    if (e != null) {
        return new DEREncodedKeyValue(e, this.baseURI);
    }
    return null;
}
 
Example 15
Source File: X509Data.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemDigest
 *
 * @param i
 * @return the X509Digest, null if not present
 * @throws XMLSecurityException
 */
public XMLX509Digest itemDigest(int i) throws XMLSecurityException {

    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_X509DIGEST, i);

    if (e != null) {
        return new XMLX509Digest(e, this.baseURI);
    }
    return null;
}
 
Example 16
Source File: KeyInfo.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemKeyInfoReference
 *
 * @param i
 * @return the asked KeyInfoReference element, null if the index is too big
 * @throws XMLSecurityException
 */
public KeyInfoReference itemKeyInfoReference(int i) throws XMLSecurityException {
    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_KEYINFOREFERENCE, i);

    if (e != null) {
        return new KeyInfoReference(e, this.baseURI);
    }
    return null;
}
 
Example 17
Source File: X509Data.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemDigest
 *
 * @param i
 * @return the X509Digest, null if not present
 * @throws XMLSecurityException
 */
public XMLX509Digest itemDigest(int i) throws XMLSecurityException {

    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_X509DIGEST, i);

    if (e != null) {
        return new XMLX509Digest(e, this.baseURI);
    }
    return null;
}
 
Example 18
Source File: X509Data.java    From dragonwell8_jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Method itemDigest
 *
 * @param i
 * @return the X509Digest, null if not present
 * @throws XMLSecurityException
 */
public XMLX509Digest itemDigest(int i) throws XMLSecurityException {

    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_X509DIGEST, i);

    if (e != null) {
        return new XMLX509Digest(e, this.baseURI);
    }
    return null;
}
 
Example 19
Source File: KeyInfo.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
/**
 * Method itemKeyInfoReference
 *
 * @param i
 * @return the asked KeyInfoReference element, null if the index is too big
 * @throws XMLSecurityException
 */
public KeyInfoReference itemKeyInfoReference(int i) throws XMLSecurityException {
    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_KEYINFOREFERENCE, i);

    if (e != null) {
        return new KeyInfoReference(e, this.baseURI);
    }
    return null;
}
 
Example 20
Source File: KeyInfo.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
/**
 * Method itemDEREncodedKeyValue
 *
 * @param i
 * @return the asked DEREncodedKeyValue element, null if the index is too big
 * @throws XMLSecurityException
 */
public DEREncodedKeyValue itemDEREncodedKeyValue(int i) throws XMLSecurityException {
    Element e =
        XMLUtils.selectDs11Node(
            this.constructionElement.getFirstChild(), Constants._TAG_DERENCODEDKEYVALUE, i);

    if (e != null) {
        return new DEREncodedKeyValue(e, this.baseURI);
    }
    return null;
}