public class NullKeyProvider extends Object implements KeyProvider<PrivateKey>
| Modifier and Type | Field and Description |
|---|---|
static String |
URL_SCHEME |
| Constructor and Description |
|---|
NullKeyProvider() |
| Modifier and Type | Method and Description |
|---|---|
PrivateKey |
getKey(ValidatedKeyId keyId)
Provides a Key for a validated key identifier.
|
String |
toString() |
public static final String URL_SCHEME
public PrivateKey getKey(ValidatedKeyId keyId) throws CannotRetrieveKeyException
KeyProvidergetKey in interface KeyProvider<PrivateKey>keyId - the validated keyId of interest which is safe from directory traversalCannotRetrieveKeyException - if the key couldn't be retrieved or found.Copyright © 2017 Atlassian. All rights reserved.