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.
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.