|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.federation.message.common.EncryptableNameIdentifier
public class EncryptableNameIdentifier
This class contains methods for encrypting the NameIdentifier
object.
Constructor Summary | |
---|---|
protected |
EncryptableNameIdentifier()
Default Constructor. |
|
EncryptableNameIdentifier(Element nameIdentifier)
Constructs a EncryptedNameIdentifer element from
the Document Element. |
|
EncryptableNameIdentifier(NameIdentifier ni)
Constructor creates EncryptableNameIdentifier object. |
|
EncryptableNameIdentifier(String name,
String nameQualifier,
String format,
Date issueInstant,
String nonce)
Consturctor creates EncryptableNameIdentifier object. |
Method Summary | |
---|---|
String |
getFormat()
Returns value of the Format attribute. |
Date |
getIssueInstant()
Returns the Issue Instant. |
String |
getName()
Returns the name from NameQualifier . |
String |
getNameQualifier()
Returns the NameQualifier attribute. |
String |
getNonce()
Retunrs the nounce. |
boolean |
setFormat(String format)
Sets the Format attribute. |
protected boolean |
setName(String name)
Sets the name attribute. |
boolean |
setNameQualifier(String nameQualifier)
Sets nameQualifier attribute. |
String |
toString()
Returns a String representation of the element. |
String |
toString(boolean includeNS,
boolean declareNS)
Returns String representation of the <EncryptableNameIdentifier> element. |
Constructor Detail |
---|
protected EncryptableNameIdentifier()
public EncryptableNameIdentifier(NameIdentifier ni)
EncryptableNameIdentifier
object.
ni
- the NameIdentifier
object to be encrypted.
FSException
- if there is an error.public EncryptableNameIdentifier(String name, String nameQualifier, String format, Date issueInstant, String nonce)
EncryptableNameIdentifier
object.
name
- nameQualifier
- format
- issueInstant
- the Issue Instantnonce
-
FSException
- if there is an error.public EncryptableNameIdentifier(Element nameIdentifier)
EncryptedNameIdentifer
element from
the Document Element.
nameIdentifier
- a org.w3c.dom.Element
representing DOM tree for EncryptableNameIdentifier
object
FSException
- if it could not process the
org.w3c.dom.Element
properly, implying that there
is an error in the sender or in the element definition.Method Detail |
---|
public String getFormat()
Format
attribute.
Format
attribute.public boolean setFormat(String format)
Format
attribute.
format
- the value of the Format
attribute.
public String getNameQualifier()
NameQualifier
attribute.
nameQualifier
.public boolean setNameQualifier(String nameQualifier)
nameQualifier
attribute.
nameQualifier
- the nameQualifier
attribute.
protected boolean setName(String name)
name
- name of the nameQualifier
.
public String getName()
NameQualifier
.
NameQualifier
.public String getNonce()
public Date getIssueInstant()
public String toString()
toString
in class Object
<saml:EncryptableNameIdentifier>
.public String toString(boolean includeNS, boolean declareNS)
<EncryptableNameIdentifier>
element.
includeNS
- Determines whether or not the namespace qualifier is
prepended to the Element when converted.declareNS
- Determines whether or not the namespace is declared
within the Element.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |