public interface KeyProvider<K extends Key>
| Modifier and Type | Method and Description |
|---|---|
K |
getKey(ValidatedKeyId keyId)
Provides a Key for a validated key identifier.
|
K getKey(ValidatedKeyId keyId) throws CannotRetrieveKeyException
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.