public class PrivateKeyJwsSignatureProvider extends AbstractJwsSignatureProvider
Modifier and Type | Class and Description |
---|---|
protected static class |
PrivateKeyJwsSignatureProvider.PrivateKeyJwsSignature |
LOG
Constructor and Description |
---|
PrivateKeyJwsSignatureProvider(PrivateKey key,
AlgorithmParameterSpec spec,
SignatureAlgorithm algo) |
PrivateKeyJwsSignatureProvider(PrivateKey key,
SecureRandom random,
AlgorithmParameterSpec spec,
SignatureAlgorithm algo) |
PrivateKeyJwsSignatureProvider(PrivateKey key,
SignatureAlgorithm algo) |
Modifier and Type | Method and Description |
---|---|
protected JwsSignature |
doCreateJwsSignature(JwsHeaders headers) |
protected JwsSignature |
doCreateJwsSignature(Signature s) |
protected boolean |
isValidAlgorithmFamily(String algo) |
checkAlgorithm, createJwsSignature, getAlgorithm, prepareHeaders, sign
public PrivateKeyJwsSignatureProvider(PrivateKey key, SignatureAlgorithm algo)
public PrivateKeyJwsSignatureProvider(PrivateKey key, AlgorithmParameterSpec spec, SignatureAlgorithm algo)
public PrivateKeyJwsSignatureProvider(PrivateKey key, SecureRandom random, AlgorithmParameterSpec spec, SignatureAlgorithm algo)
protected JwsSignature doCreateJwsSignature(JwsHeaders headers)
doCreateJwsSignature
in class AbstractJwsSignatureProvider
protected JwsSignature doCreateJwsSignature(Signature s)
protected boolean isValidAlgorithmFamily(String algo)
isValidAlgorithmFamily
in class AbstractJwsSignatureProvider
Apache CXF