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
LlapSignerserializeAndSign in interface LlapSignerIOExceptionpublic void checkSignature(byte[] message,
byte[] signature,
int keyId)
throws SecurityException
checkSignature in interface LlapSignerSecurityExceptionpublic void close()
close in interface LlapSignerCopyright © 2019 The Apache Software Foundation. All Rights Reserved.