mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Expose encrypted data from the keyring
This makes it possible to request the encrypted data directly in application code. It will be used to download service account credential during "nomulus login". ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=222847905
This commit is contained in:
parent
4598c5f105
commit
886aa62d46
6 changed files with 61 additions and 5 deletions
|
@ -150,6 +150,12 @@ public final class FakeKeyringModule {
|
|||
return rdeReceiverKey;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getEncryptedData(String keyName) {
|
||||
throw new RuntimeException(
|
||||
"Fake keyring does not support the retrieval of encrypted data.");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() {}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue