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

org.apache.oltu.jose.jws
Class JWS

java.lang.Object
  extended by org.apache.oltu.jose.jws.JWS

public class JWS
extends Object


Nested Class Summary
static class JWS.Builder
           
 
Method Summary
<SK extends SigningKey,VK extends VerifyingKey>
boolean
acceptAlgorithm(SignatureMethod<SK,VK> method)
           
 Header getHeader()
           
 String getPayload()
           
 String getSignature()
           
<SK extends SigningKey,VK extends VerifyingKey>
boolean
validate(SignatureMethod<SK,VK> method, VK verifyingKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHeader

public Header getHeader()

getPayload

public String getPayload()

getSignature

public 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)


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