Class PGPKeyPacketBuilder

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

public class PGPKeyPacketBuilder
extends AbstractXMLObjectBuilder<PGPKeyPacket>
implements XMLSignatureBuilder<PGPKeyPacket>
Builder of PGPKeyPacket.
  • Constructor Details

    • PGPKeyPacketBuilder

      public PGPKeyPacketBuilder()
      Constructor.
  • Method Details

    • buildObject

      public PGPKeyPacket buildObject​(String namespaceURI, String localName, String namespacePrefix)
      Creates an XMLObject with a given fully qualified name.
      Specified by:
      buildObject in interface XMLObjectBuilder<PGPKeyPacket>
      Specified by:
      buildObject in class AbstractXMLObjectBuilder<PGPKeyPacket>
      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 PGPKeyPacket buildObject()
      Builds an XMLObject using the default name and namespace information provided by the XML Signature specifications.
      Specified by:
      buildObject in interface XMLSignatureBuilder<PGPKeyPacket>
      Returns:
      built XMLObject