public class LlapSignerImpl extends Object implements LlapSigner
LlapSigner.Signable, LlapSigner.SignedMessage
Constructor and Description |
---|
LlapSignerImpl(org.apache.hadoop.conf.Configuration conf,
DaemonId daemonId) |
LlapSignerImpl(SigningSecretManager sm) |
Modifier and Type | Method and Description |
---|---|
void |
checkSignature(byte[] message,
byte[] signature,
int keyId) |
LlapSigner.SignedMessage |
serializeAndSign(LlapSigner.Signable message)
Serializes and signs the message.
|
public LlapSignerImpl(org.apache.hadoop.conf.Configuration conf, DaemonId daemonId)
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
Copyright © 2016 The Apache Software Foundation. All rights reserved.