public class MacSignatureSignerContext extends Object implements SignatureSignerContext
Constructor and Description |
---|
MacSignatureSignerContext(KeyWrapper key) |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
String |
getHashAlgorithm() |
String |
getKid() |
byte[] |
sign(byte[] data) |
public MacSignatureSignerContext(KeyWrapper key) throws SignatureException
SignatureException
public String getKid()
getKid
in interface SignatureSignerContext
public String getAlgorithm()
getAlgorithm
in interface SignatureSignerContext
public String getHashAlgorithm()
getHashAlgorithm
in interface SignatureSignerContext
public byte[] sign(byte[] data) throws SignatureException
sign
in interface SignatureSignerContext
SignatureException
Copyright © 2019 JBoss by Red Hat. All rights reserved.