public class LlapSignerImpl extends Object implements LlapSigner
LlapSigner.Signable, LlapSigner.SignedMessage
Constructor and Description |
---|
LlapSignerImpl(org.apache.hadoop.conf.Configuration conf,
String clusterId) |
LlapSignerImpl(SigningSecretManager sm) |
Modifier and Type | Method and Description |
---|---|
void |
checkSignature(byte[] message,
byte[] signature,
int keyId) |
void |
close() |
LlapSigner.SignedMessage |
serializeAndSign(LlapSigner.Signable message)
Serializes and signs the message.
|
public LlapSignerImpl(org.apache.hadoop.conf.Configuration conf, String clusterId)
public LlapSignerImpl(SigningSecretManager sm)
public LlapSigner.SignedMessage serializeAndSign(LlapSigner.Signable message) throws IOException
LlapSigner
serializeAndSign
in interface LlapSigner
IOException
public void checkSignature(byte[] message, byte[] signature, int keyId) throws SecurityException
checkSignature
in interface LlapSigner
SecurityException
public void close()
close
in interface LlapSigner
Copyright © 2021 The Apache Software Foundation. All rights reserved.