|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectcom.sun.identity.liberty.ws.disco.EncryptedResourceID
public class EncryptedResourceID
The class EncryptedResourceID represents an Encryption
Resource ID element for the Discovery Service.
The following schema fragment specifies the expected content within the
EncryptedResourceID object.
<xs:element name="EncryptedResourceID" type="EncryptedResourceIDType"/>
<complexType name="EncryptedResourceIDType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptedData"/>
<element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptedKey"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| コンストラクタの概要 | |
|---|---|
EncryptedResourceID()
Default constructor. |
|
EncryptedResourceID(Element elem)
Constructor. |
|
EncryptedResourceID(Element encryptedData,
Element encryptedKey)
Constructor. |
|
EncryptedResourceID(Element elem,
String nspaceURI)
Constructs a encrypted resource ID. |
|
| メソッドの概要 | |
|---|---|
static ResourceID |
getDecryptedResourceID(EncryptedResourceID eri,
String providerID)
Returns an instance of ResourceID object. |
Element |
getEncryptedData()
Gets encrypted data. |
Element |
getEncryptedKey()
Gets encrypted key element. |
static EncryptedResourceID |
getEncryptedResourceID(ResourceID ri,
String providerID)
Returns an EncryptedResourceID object. |
void |
setEncryptedData(Element data)
Sets encrypted data element. |
void |
setEncryptedKey(Element key)
Sets encrypted key element. |
String |
toString()
Returns string format. |
String |
toString(String ns)
Returns string format. |
| コンストラクタの詳細 |
|---|
public EncryptedResourceID()
public EncryptedResourceID(Element elem)
throws DiscoveryException
elem - EncryptedResourceID DOM element
DiscoveryException - if error occurs
public EncryptedResourceID(Element elem,
String nspaceURI)
throws DiscoveryException
elem - EncryptedResourceID DOM elementnspaceURI - Name space URI for this element. By default, Discovery
name space is used.
DiscoveryException - if error occurs.
public EncryptedResourceID(Element encryptedData,
Element encryptedKey)
encryptedData - Encrypted data in DOM Element.encryptedKey - Encrypted key in DOM Element.| メソッドの詳細 |
|---|
public void setEncryptedData(Element data)
data - encrypted data element.EncryptedResourceID.getEncryptedData()public Element getEncryptedData()
EncryptedResourceID.setEncryptedData(Element)public Element getEncryptedKey()
EncryptedResourceID.setEncryptedKey(Element)public void setEncryptedKey(Element key)
key - encrypted key element.EncryptedResourceID.getEncryptedKey()
public static ResourceID getDecryptedResourceID(EncryptedResourceID eri,
String providerID)
throws DiscoveryException
ResourceID object. It takes an
instance of EncryptedResourceID and decrypts the contents
using the decryption key of the provider ID.
eri - EncryptedResourceID instance that needs to be
decrypted.providerID - The provider ID whose decryption key that needs to be
used for decryption.
DiscoveryException - if error occurs during the operation.
public static EncryptedResourceID getEncryptedResourceID(ResourceID ri,
String providerID)
throws DiscoveryException
EncryptedResourceID object. It takes a
resource ID and provider ID, encrypts the resource ID based on the
encryption key of the provider ID.
ri - The resource ID instance that needs to be encrypted.providerID - The provider ID whose encryption key needs to be used
for encryption.
DiscoveryException - if error occurs during this operation.public String toString()
Object 内の toStringpublic String toString(String ns)
ns - namespace value
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||