Class EncryptedNameIdentifier
- java.lang.Object
-
- com.sun.identity.federation.message.common.EncryptedNameIdentifier
-
@Deprecated public class EncryptedNameIdentifier extends Object
Deprecated.since 12.0.0This classEncryptedNameIdentifierrepresents aEncryptableNameIdentifierin an encrypted form.
-
-
Constructor Summary
Constructors Constructor Description EncryptedNameIdentifier()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static NameIdentifiergetDecryptedNameIdentifier(NameIdentifier encNI, String realm, String providerID)Deprecated.Returns the decryptedNameIdentifierobject.static NameIdentifiergetDecryptedNameIdentifier(NameIdentifier encNI, PrivateKey decKey)Deprecated.Gets the decrypted NameIdentifier.static NameIdentifiergetEncryptedNameIdentifier(NameIdentifier ni, String realm, String providerID)Deprecated.Returns theEncryptedNameIdentifierfor a given name identifier and the provider ID.static NameIdentifiergetEncryptedNameIdentifier(NameIdentifier ni, String providerID, Key enckey, String dataEncAlgorithm, int dataEncStrength)Deprecated.Gets then Encrypted NameIdentifier for a given name identifier and the provider ID.
-
-
-
Method Detail
-
getEncryptedNameIdentifier
public static NameIdentifier getEncryptedNameIdentifier(NameIdentifier ni, String realm, String providerID) throws FSException
Deprecated.Returns theEncryptedNameIdentifierfor a given name identifier and the provider ID.- Parameters:
ni- theNameIdentifierobject.realm- The realm under which the entity resides.providerID- the remote provider identifier.- Returns:
- the
NameIdentifierobject. - Throws:
FSException- on error.
-
getEncryptedNameIdentifier
public static NameIdentifier getEncryptedNameIdentifier(NameIdentifier ni, String providerID, Key enckey, String dataEncAlgorithm, int dataEncStrength) throws FSException
Deprecated.Gets then Encrypted NameIdentifier for a given name identifier and the provider ID.- Parameters:
ni- NameIdentifier.providerID- Remote Provider ID.enckey- Key Encryption KeydataEncAlgorithm- Data encryption algorithmdataEncStrength- Data encryption key size- Returns:
- NameIdentifier EncryptedNameIdentifier.
- Throws:
FSException- for failure.
-
getDecryptedNameIdentifier
public static NameIdentifier getDecryptedNameIdentifier(NameIdentifier encNI, String realm, String providerID) throws FSException
Deprecated.Returns the decryptedNameIdentifierobject.- Parameters:
encNI- theEncryptedNameIdentifierobject.realm- The realm under which the entity resides.providerID- the Hosted Provider Identifer.- Returns:
- the
NameIdentifierobject, the decryptedNameIdentifier. - Throws:
FSException- on error.
-
getDecryptedNameIdentifier
public static NameIdentifier getDecryptedNameIdentifier(NameIdentifier encNI, PrivateKey decKey) throws FSException
Deprecated.Gets the decrypted NameIdentifier.- Parameters:
encNI- EncryptedNameIdentifier.decKey- decryption key.- Returns:
- NameIdentifier Decrypted NameIdentifier.
- Throws:
FSException- for failures
-
-