Class PublicKeyBuilder

java.lang.Object
org.opensaml.core.xml.AbstractXMLObjectBuilder<PublicKey>
org.opensaml.xmlsec.signature.impl.PublicKeyBuilder
All Implemented Interfaces:
XMLObjectBuilder<PublicKey>, XMLSignatureBuilder<PublicKey>

public class PublicKeyBuilder
extends AbstractXMLObjectBuilder<PublicKey>
implements XMLSignatureBuilder<PublicKey>
Builder of PublicKey.
  • Constructor Details

    • PublicKeyBuilder

      public PublicKeyBuilder()
      Constructor.
  • Method Details

    • buildObject

      public PublicKey buildObject​(String namespaceURI, String localName, String namespacePrefix)
      Creates an XMLObject with a given fully qualified name.
      Specified by:
      buildObject in interface XMLObjectBuilder<PublicKey>
      Specified by:
      buildObject in class AbstractXMLObjectBuilder<PublicKey>
      Parameters:
      namespaceURI - the URI of the namespace the Element represented by this XMLObject will be in
      localName - the local name of the Element represented by this XMLObject
      namespacePrefix - the namespace prefix of the Element represented by this XMLObject
      Returns:
      the constructed XMLObject
    • buildObject

      public PublicKey buildObject()
      Builds an XMLObject using the default name and namespace information provided by the XML Signature specifications.
      Specified by:
      buildObject in interface XMLSignatureBuilder<PublicKey>
      Returns:
      built XMLObject