Package org.keycloak.crypto
Class ServerECDSASignatureSignerContext
- java.lang.Object
-
- org.keycloak.crypto.AsymmetricSignatureSignerContext
-
- org.keycloak.crypto.ServerECDSASignatureSignerContext
-
- All Implemented Interfaces:
SignatureSignerContext
public class ServerECDSASignatureSignerContext extends AsymmetricSignatureSignerContext
-
-
Constructor Summary
Constructors Constructor Description ServerECDSASignatureSignerContext(KeyWrapper key)
ServerECDSASignatureSignerContext(KeycloakSession session, String algorithm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
sign(byte[] data)
-
Methods inherited from class org.keycloak.crypto.AsymmetricSignatureSignerContext
getAlgorithm, getHashAlgorithm, getKid
-
-
-
-
Constructor Detail
-
ServerECDSASignatureSignerContext
public ServerECDSASignatureSignerContext(KeycloakSession session, String algorithm) throws SignatureException
- Throws:
SignatureException
-
ServerECDSASignatureSignerContext
public ServerECDSASignatureSignerContext(KeyWrapper key)
-
-
Method Detail
-
sign
public byte[] sign(byte[] data) throws SignatureException
- Specified by:
sign
in interfaceSignatureSignerContext
- Overrides:
sign
in classAsymmetricSignatureSignerContext
- Throws:
SignatureException
-
-