Class EncryptedNameIdentifier


  • @Deprecated
    public class EncryptedNameIdentifier
    extends Object
    Deprecated.
    since 12.0.0
    This class EncryptedNameIdentifier represents a EncryptableNameIdentifier in an encrypted form.
    • Constructor Detail

      • EncryptedNameIdentifier

        public EncryptedNameIdentifier()
        Deprecated.
    • Method Detail

      • getEncryptedNameIdentifier

        public static NameIdentifier getEncryptedNameIdentifier​(NameIdentifier ni,
                                                                String realm,
                                                                String providerID)
                                                         throws FSException
        Deprecated.
        Returns the EncryptedNameIdentifier for a given name identifier and the provider ID.
        Parameters:
        ni - the NameIdentifier object.
        realm - The realm under which the entity resides.
        providerID - the remote provider identifier.
        Returns:
        the NameIdentifier object.
        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 Key
        dataEncAlgorithm - Data encryption algorithm
        dataEncStrength - 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 decrypted NameIdentifier object.
        Parameters:
        encNI - the EncryptedNameIdentifier object.
        realm - The realm under which the entity resides.
        providerID - the Hosted Provider Identifer.
        Returns:
        the NameIdentifier object, the decrypted NameIdentifier.
        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