Package org.opensaml.xml.signature

Examples of org.opensaml.xml.signature.NamedCurve


*/
public class NamedCurveUnmarshaller extends AbstractXMLSignatureUnmarshaller {

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
        NamedCurve nc = (NamedCurve) xmlObject;

        if (attribute.getLocalName().equals(NamedCurve.URI_ATTRIB_NAME)) {
            nc.setURI(attribute.getValue());
        }
    }
View Full Code Here


*/
public class NamedCurveMarshaller extends AbstractXMLSignatureMarshaller {

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        NamedCurve nc = (NamedCurve) xmlObject;

        if (nc.getURI() != null) {
            domElement.setAttributeNS(null, NamedCurve.URI_ATTRIB_NAME, nc.getURI());
        }
    }
View Full Code Here

TOP

Related Classes of org.opensaml.xml.signature.NamedCurve

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.