Class DHKeyValueImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.encryption.impl.DHKeyValueImpl
- All Implemented Interfaces:
XMLObject
,DHKeyValue
public class DHKeyValueImpl extends AbstractXMLObject implements DHKeyValue
Concrete implementation of
DHKeyValue
.-
Field Summary
Fields Modifier and Type Field Description private Generator
generator
Generator child element.private P
p
P child element.private PgenCounter
pgenCounter
pgenCounter child element.private Public
publicChild
Public element.private Q
q
Q child element.private Seed
seed
seed child element.Fields inherited from interface org.opensaml.xmlsec.encryption.DHKeyValue
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
DHKeyValueImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor. -
Method Summary
Modifier and Type Method Description Generator
getGenerator()
Get the Generator child element.List<XMLObject>
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.P
getP()
Get the P child element.PgenCounter
getPgenCounter()
Get the pgenCounter element.Public
getPublic()
Get the Public element.Q
getQ()
Get the Q child element.Seed
getSeed()
Get the seed element.void
setGenerator(Generator newGenerator)
Set the G child element.void
setP(P newP)
Set the P child element.void
setPgenCounter(PgenCounter newPgenCounter)
Set the pgenCounter element.void
setPublic(Public newPublic)
Set the Public element.void
setQ(Q newQ)
Set the Q child element.void
setSeed(Seed newSeed)
Set the seed element.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
p
P child element. -
q
Q child element. -
generator
Generator child element. -
publicChild
Public element. -
seed
seed child element. -
pgenCounter
pgenCounter child element.
-
-
Constructor Details
-
DHKeyValueImpl
Constructor.- Parameters:
namespaceURI
- namespace URIelementLocalName
- local namenamespacePrefix
- namespace prefix
-
-
Method Details
-
getP
Get the P child element.- Specified by:
getP
in interfaceDHKeyValue
- Returns:
- the P child element
-
setP
Set the P child element.- Specified by:
setP
in interfaceDHKeyValue
- Parameters:
newP
- the new P child element
-
getQ
Get the Q child element.- Specified by:
getQ
in interfaceDHKeyValue
- Returns:
- the Q child element
-
setQ
Set the Q child element.- Specified by:
setQ
in interfaceDHKeyValue
- Parameters:
newQ
- the new Q child element
-
getGenerator
Get the Generator child element.- Specified by:
getGenerator
in interfaceDHKeyValue
- Returns:
- the Generator child element
-
setGenerator
Set the G child element.- Specified by:
setGenerator
in interfaceDHKeyValue
- Parameters:
newGenerator
- the new G child element
-
getPublic
Get the Public element.- Specified by:
getPublic
in interfaceDHKeyValue
- Returns:
- the Public element
-
setPublic
Set the Public element.- Specified by:
setPublic
in interfaceDHKeyValue
- Parameters:
newPublic
- the new Public child element
-
getSeed
Get the seed element.- Specified by:
getSeed
in interfaceDHKeyValue
- Returns:
- the seed element
-
setSeed
Set the seed element.- Specified by:
setSeed
in interfaceDHKeyValue
- Parameters:
newSeed
- new seed element
-
getPgenCounter
Get the pgenCounter element.- Specified by:
getPgenCounter
in interfaceDHKeyValue
- Returns:
- the pgenCounter element
-
setPgenCounter
Set the pgenCounter element.- Specified by:
setPgenCounter
in interfaceDHKeyValue
- Parameters:
newPgenCounter
- new pgenCounter element
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-