Class EncryptableNameIdentifier
- java.lang.Object
-
- com.sun.identity.federation.message.common.EncryptableNameIdentifier
-
@Deprecated public class EncryptableNameIdentifier extends Object
Deprecated.since 12.0.0This class contains methods for encrypting theNameIdentifierobject.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEncryptableNameIdentifier()Deprecated.Default Constructor.EncryptableNameIdentifier(NameIdentifier ni)Deprecated.Constructor createsEncryptableNameIdentifierobject.EncryptableNameIdentifier(String name, String nameQualifier, String format, Date issueInstant, String nonce)Deprecated.Consturctor createsEncryptableNameIdentifierobject.EncryptableNameIdentifier(Element nameIdentifier)Deprecated.Constructs aEncryptedNameIdentiferelement from the Document Element.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetFormat()Deprecated.Returns value of theFormatattribute.DategetIssueInstant()Deprecated.Returns the Issue Instant.StringgetName()Deprecated.Returns the name fromNameQualifier.StringgetNameQualifier()Deprecated.Returns theNameQualifierattribute.StringgetNonce()Deprecated.Retunrs the nounce.booleansetFormat(String format)Deprecated.Sets theFormatattribute.protected booleansetName(String name)Deprecated.Sets the name attribute.booleansetNameQualifier(String nameQualifier)Deprecated.SetsnameQualifierattribute.StringtoString()Deprecated.Returns a String representation of the element.StringtoString(boolean includeNS, boolean declareNS)Deprecated.Returns String representation of the<EncryptableNameIdentifier>element.
-
-
-
Constructor Detail
-
EncryptableNameIdentifier
protected EncryptableNameIdentifier()
Deprecated.Default Constructor.
-
EncryptableNameIdentifier
public EncryptableNameIdentifier(NameIdentifier ni) throws FSException
Deprecated.Constructor createsEncryptableNameIdentifierobject.- Parameters:
ni- theNameIdentifierobject to be encrypted.- Throws:
FSException- if there is an error.
-
EncryptableNameIdentifier
public EncryptableNameIdentifier(String name, String nameQualifier, String format, Date issueInstant, String nonce) throws FSException
Deprecated.Consturctor createsEncryptableNameIdentifierobject.- Parameters:
name-nameQualifier-format-issueInstant- the Issue Instantnonce-- Throws:
FSException- if there is an error.
-
EncryptableNameIdentifier
public EncryptableNameIdentifier(Element nameIdentifier) throws FSException
Deprecated.Constructs aEncryptedNameIdentiferelement from the Document Element.- Parameters:
nameIdentifier- aorg.w3c.dom.Elementrepresenting DOM tree forEncryptableNameIdentifierobject- Throws:
FSException- if it could not process theorg.w3c.dom.Elementproperly, implying that there is an error in the sender or in the element definition.
-
-
Method Detail
-
getFormat
public String getFormat()
Deprecated.Returns value of theFormatattribute.- Returns:
- value of the
Formatattribute.
-
setFormat
public boolean setFormat(String format)
Deprecated.Sets theFormatattribute.- Parameters:
format- the value of theFormatattribute.- Returns:
- true if the operation succeeds.
-
getNameQualifier
public String getNameQualifier()
Deprecated.Returns theNameQualifierattribute.- Returns:
- the
nameQualifier.
-
setNameQualifier
public boolean setNameQualifier(String nameQualifier)
Deprecated.SetsnameQualifierattribute.- Parameters:
nameQualifier- thenameQualifierattribute.- Returns:
- true if operation succeeds.
-
setName
protected boolean setName(String name)
Deprecated.Sets the name attribute.- Parameters:
name- name of thenameQualifier.- Returns:
- true if operation succeeds.
-
getName
public String getName()
Deprecated.Returns the name fromNameQualifier.- Returns:
- the name from
NameQualifier.
-
getNonce
public String getNonce()
Deprecated.Retunrs the nounce.- Returns:
- the nounce.
-
getIssueInstant
public Date getIssueInstant()
Deprecated.Returns the Issue Instant.- Returns:
- the Issue Instant.
-
toString
public String toString()
Deprecated.Returns a String representation of the element.
-
toString
public String toString(boolean includeNS, boolean declareNS)
Deprecated.Returns String representation of the<EncryptableNameIdentifier>element.- Parameters:
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.- Returns:
- A string containing the valid XML for this element
-
-