com.nimbusds.openid.connect.sdk.util
Interface JOSEObjectRetriever

All Known Implementing Classes:
DefaultJOSEObjectRetriever

public interface JOSEObjectRetriever

Retriever of Javascript Object Signing and Encryption (JOSE) objects passed by HTTP URL reference.

Version:
$version$ (2012-10-17)
Author:
Vladimir Dzhuvinov

Method Summary
 com.nimbusds.jose.JOSEObject downloadJOSEObject(URL url)
          Downloads a JOSE object from the specified HTTP URL.
 

Method Detail

downloadJOSEObject

com.nimbusds.jose.JOSEObject downloadJOSEObject(URL url)
                                                throws IOException,
                                                       ParseException
Downloads a JOSE object from the specified HTTP URL.

Parameters:
url - The URL of the JOSE object. Must not be null.
Returns:
The downloaded JOSE object.
Throws:
IOException - If the HTTP connection to the specified URL failed.
ParseException - If the content at the specified URL couldn't be parsed to a valid JOSE object.


Copyright © 2013 NimbusDS. All Rights Reserved.