protected static final class IngestFilesTester.SecurityState extends Object implements AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static IngestFilesTester.SecurityState |
create(String account,
String user) |
static String |
generateJwtToken(String account,
String user,
KeyPair pair) |
String |
getJwtToken() |
String |
getPublicKeyString() |
public static IngestFilesTester.SecurityState create(String account, String user) throws NoSuchAlgorithmException, NoSuchProviderException
public void close()
throws Exception
close in interface AutoCloseableExceptionpublic String getPublicKeyString() throws InvalidKeySpecException
InvalidKeySpecExceptionpublic String getJwtToken()
Copyright © 2017. All rights reserved.