This project has retired. For details please refer to its Attic page.
SignatureMethod (Apache Oltu - JOSE 2-SNAPSHOT API)

org.apache.oltu.jose.jws.signature
Interface SignatureMethod<S extends SigningKey,V extends VerifyingKey>

Type Parameters:
S - the SigningKey type.
V - the VerifyingKey type.
All Known Implementing Classes:
SignatureMethodsHMAC256Impl

public interface SignatureMethod<S extends SigningKey,V extends VerifyingKey>

Common definition of OAuth signature method algorithm.


Method Summary
 String calculate(String header, String payload, S signingKey)
           
 String getAlgorithm()
           
 boolean verify(String signature, String header, String payload, V verifyingKey)
           
 

Method Detail

calculate

String calculate(String header,
                 String payload,
                 S signingKey)

verify

boolean verify(String signature,
               String header,
               String payload,
               V verifyingKey)

getAlgorithm

String getAlgorithm()


Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.