Interface EncryptedID

    • Method Detail

      • decrypt

        NameID decrypt​(Set<PrivateKey> privateKeys)
                throws SAML2Exception
        Decrypts the encrypted ID.
        Parameters:
        privateKeys - Private keys of the recipient used to decrypt the secret key
        Returns:
        a NameID that is decrypted from this object
        Throws:
        SAML2Exception - if it could not decrypt the ID properly.