com.sun.identity.federation.message.common
クラス EncryptableNameIdentifier

java.lang.Object
  上位を拡張 com.sun.identity.federation.message.common.EncryptableNameIdentifier

public class EncryptableNameIdentifier
extends Object

This class contains methods for encrypting the NameIdentifier object.


コンストラクタの概要
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.
 
メソッドの概要
 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.
 

コンストラクタの詳細

EncryptableNameIdentifier

protected EncryptableNameIdentifier()
Default Constructor.


EncryptableNameIdentifier

public EncryptableNameIdentifier(NameIdentifier ni)
Constructor creates EncryptableNameIdentifier object.

パラメータ:
ni - the NameIdentifier object to be encrypted.
例外:
FSException - if there is an error.

EncryptableNameIdentifier

public EncryptableNameIdentifier(String name,
                                 String nameQualifier,
                                 String format,
                                 Date issueInstant,
                                 String nonce)
Consturctor creates EncryptableNameIdentifier object.

パラメータ:
name -
nameQualifier -
format -
issueInstant - the Issue Instant
nonce -
例外:
FSException - if there is an error.

EncryptableNameIdentifier

public EncryptableNameIdentifier(Element nameIdentifier)
Constructs a 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.
メソッドの詳細

getFormat

public String getFormat()
Returns value of the Format attribute.

戻り値:
value of the Format attribute.

setFormat

public boolean setFormat(String format)
Sets the Format attribute.

パラメータ:
format - the value of the Format attribute.
戻り値:
true if the operation succeeds.

getNameQualifier

public String getNameQualifier()
Returns the NameQualifier attribute.

戻り値:
the nameQualifier.

setNameQualifier

public boolean setNameQualifier(String nameQualifier)
Sets nameQualifier attribute.

パラメータ:
nameQualifier - the nameQualifier attribute.
戻り値:
true if operation succeeds.

setName

protected boolean setName(String name)
Sets the name attribute.

パラメータ:
name - name of the nameQualifier.
戻り値:
true if operation succeeds.

getName

public String getName()
Returns the name from NameQualifier.

戻り値:
the name from NameQualifier.

getNonce

public String getNonce()
Retunrs the nounce.

戻り値:
the nounce.

getIssueInstant

public Date getIssueInstant()
Returns the Issue Instant.

戻り値:
the Issue Instant.

toString

public String toString()
Returns a String representation of the element.

オーバーライド:
クラス Object 内の toString
戻り値:
A string containing the valid XML for this element By default name space name is prepended to the element name example <saml:EncryptableNameIdentifier>.

toString

public String toString(boolean includeNS,
                       boolean declareNS)
Returns String representation of the <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.
戻り値:
A string containing the valid XML for this element