public class SigningManager extends Object
For details of all supported signing algorithms see JwsAlgorithm
Constructor and Description |
---|
SigningManager() |
Modifier and Type | Method and Description |
---|---|
SigningHandler |
newHmacSigningHandler(byte[] sharedSecret)
Constructs a new HmacSigningHandler.
|
SigningHandler |
newNopSigningHandler()
Constructs an implementation of the SigningHandler which does not perform
any signing or verifying.
|
SigningHandler |
newRsaSigningHandler(Key key)
Constructs a new RSASigningHandler, with a SignatureUtil instance to
delegate the signing and verifying calls to.
|
public SigningManager()
public SigningHandler newNopSigningHandler()
public SigningHandler newHmacSigningHandler(byte[] sharedSecret)
sharedSecret
- The shared secret to use to sign the data.public SigningHandler newRsaSigningHandler(Key key)
key
- The key used to sign and verify the signature.Copyright 2011-2015 ForgeRock AS.