com.microsoft.aad.adal
Interface IJWSBuilder


public interface IJWSBuilder

Interface to construct jws message for responding certificate challenge.


Method Summary
 String generateSignedJWT(String nonce, String submitUrl, RSAPrivateKey privateKey, RSAPublicKey pubKey, X509Certificate x509Certificate)
           
 

Method Detail

generateSignedJWT

String generateSignedJWT(String nonce,
                         String submitUrl,
                         RSAPrivateKey privateKey,
                         RSAPublicKey pubKey,
                         X509Certificate x509Certificate)
Parameters:
nonce - A unique value issued by the server in its challenge. The client is expected to return this value to the server in its signed JWT response in order to perform device authentication. The nonce is also persisted within the encrypted context parameter.
submitUrl - The version number of the challenge-response based device authentication protocol. This is set to 1.0.
privateKey - Private Key of the Device Certificate to sign the response
pubKey - Public Key of the Device Certificate
x509Certificate - X509 certificate
Returns:
Signed JWT


Copyright © 2003–2015. All rights reserved.