Package org.apache.oltu.jose.jws
Class JWS
- java.lang.Object
-
- org.apache.oltu.jose.jws.JWS
-
public class JWS extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JWS.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <SK extends SigningKey,VK extends VerifyingKey>
booleanacceptAlgorithm(SignatureMethod<SK,VK> method)
Header
getHeader()
java.lang.String
getPayload()
java.lang.String
getSignature()
<SK extends SigningKey,VK extends VerifyingKey>
booleanvalidate(SignatureMethod<SK,VK> method, VK verifyingKey)
-
-
-
Method Detail
-
getHeader
public Header getHeader()
-
getPayload
public java.lang.String getPayload()
-
getSignature
public java.lang.String getSignature()
-
acceptAlgorithm
public <SK extends SigningKey,VK extends VerifyingKey> boolean acceptAlgorithm(SignatureMethod<SK,VK> method)
-
validate
public <SK extends SigningKey,VK extends VerifyingKey> boolean validate(SignatureMethod<SK,VK> method, VK verifyingKey)
-
-