Class SignatureSigningParameters
- java.lang.Object
-
- net.shibboleth.oidc.security.jose.SignatureSigningParameters
-
public class SignatureSigningParameters extends Object
The effective parameters to use when generating a JWS.- Since:
- 2.2.0
-
-
Field Summary
Fields Modifier and Type Field Description private StringsignatureAlgorithmURIThe signature algorithm URI.private CredentialsigningCredentialThe signing credential.
-
Constructor Summary
Constructors Constructor Description SignatureSigningParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSignatureAlgorithm()Get the signature algorithm URI to use when signing.CredentialgetSigningCredential()Get the signing credential to use when signing.voidsetSignatureAlgorithm(String uri)Set the signature algorithm URI to use when signing.voidsetSigningCredential(Credential credential)Set the signing credential to use when signing.
-
-
-
Field Detail
-
signingCredential
@Nullable private Credential signingCredential
The signing credential.
-
signatureAlgorithmURI
@Nullable private String signatureAlgorithmURI
The signature algorithm URI.
-
-
Method Detail
-
getSigningCredential
@Nullable public Credential getSigningCredential()
Get the signing credential to use when signing.- Returns:
- the signing credential
-
setSigningCredential
public void setSigningCredential(@Nullable Credential credential)Set the signing credential to use when signing.- Parameters:
credential- the signing credential
-
getSignatureAlgorithm
@Nullable public String getSignatureAlgorithm()
Get the signature algorithm URI to use when signing.- Returns:
- a signature algorithm URI mapping
-
setSignatureAlgorithm
public void setSignatureAlgorithm(@Nullable String uri)Set the signature algorithm URI to use when signing.- Parameters:
uri- a signature algorithm URI mapping
-
-