public interface SymmetricKeyManager extends KeyManager
Modifier and Type | Method and Description |
---|---|
java.security.Key |
getSymmetricKey(Context context)
Returns the key that should be used for symmetric operations for the given context.
|
getProvider
java.security.Key getSymmetricKey(Context context) throws java.lang.UnsupportedOperationException, InternalErrorException
context
- related context.java.lang.UnsupportedOperationException
- if operation in combination with given context isn't
supported.InternalErrorException
- if internal error occurred retrieving the key.