Interface SignatureMethod<S extends SigningKey,V extends VerifyingKey>
-
- Type Parameters:
S
- theSigningKey
type.V
- theVerifyingKey
type.
- All Known Implementing Classes:
SignatureMethodRSAImpl
,SignatureMethodsHMAC256Impl
public interface SignatureMethod<S extends SigningKey,V extends VerifyingKey>
Common definition of OAuth signature method algorithm.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
calculate(java.lang.String header, java.lang.String payload, S signingKey)
java.lang.String
getAlgorithm()
boolean
verify(java.lang.String signature, java.lang.String header, java.lang.String payload, V verifyingKey)
-