Class EncryptedKeyBuilder

java.lang.Object
org.opensaml.core.xml.AbstractXMLObjectBuilder<EncryptedKey>
org.opensaml.xmlsec.encryption.impl.EncryptedKeyBuilder
All Implemented Interfaces:
XMLObjectBuilder<EncryptedKey>, XMLEncryptionBuilder<EncryptedKey>

public class EncryptedKeyBuilder extends AbstractXMLObjectBuilder<EncryptedKey> implements XMLEncryptionBuilder<EncryptedKey>
Builder of EncryptedKey.
  • Constructor Details

    • EncryptedKeyBuilder

      public EncryptedKeyBuilder()
      Constructor.
  • Method Details

    • buildObject

      public EncryptedKey buildObject()
      Builds an XMLObject using the default name and namespace information provided XML Encryption specifications.
      Specified by:
      buildObject in interface XMLEncryptionBuilder<EncryptedKey>
      Returns:
      built XMLObject
    • buildObject

      public EncryptedKey buildObject(String namespaceURI, String localName, String namespacePrefix)
      Creates an XMLObject with a given fully qualified name.
      Specified by:
      buildObject in interface XMLObjectBuilder<EncryptedKey>
      Specified by:
      buildObject in class AbstractXMLObjectBuilder<EncryptedKey>
      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