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