org.apache.cxf.rs.security.oauth2.jws
Class PrivateKeyJwsSignatureProvider

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth2.jws.AbstractJwsSignatureProvider
      extended by org.apache.cxf.rs.security.oauth2.jws.PrivateKeyJwsSignatureProvider
All Implemented Interfaces:
JwsSignatureProvider

public class PrivateKeyJwsSignatureProvider
extends AbstractJwsSignatureProvider


Constructor Summary
PrivateKeyJwsSignatureProvider(PrivateKey key)
           
PrivateKeyJwsSignatureProvider(PrivateKey key, AlgorithmParameterSpec spec)
           
PrivateKeyJwsSignatureProvider(PrivateKey key, SecureRandom random, AlgorithmParameterSpec spec)
           
 
Method Summary
protected  JwsSignature doCreateJwsSignature(JwtHeaders headers)
           
 
Methods inherited from class org.apache.cxf.rs.security.oauth2.jws.AbstractJwsSignatureProvider
checkAlgorithm, createJwsSignature, prepareHeaders, setDefaultJwtAlgorithm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrivateKeyJwsSignatureProvider

public PrivateKeyJwsSignatureProvider(PrivateKey key)

PrivateKeyJwsSignatureProvider

public PrivateKeyJwsSignatureProvider(PrivateKey key,
                                      AlgorithmParameterSpec spec)

PrivateKeyJwsSignatureProvider

public PrivateKeyJwsSignatureProvider(PrivateKey key,
                                      SecureRandom random,
                                      AlgorithmParameterSpec spec)
Method Detail

doCreateJwsSignature

protected JwsSignature doCreateJwsSignature(JwtHeaders headers)
Specified by:
doCreateJwsSignature in class AbstractJwsSignatureProvider


Apache CXF