Package org.forgerock.secrets.keys
Interface KeyFormat<T>
- Type Parameters:
 T- the type of object returned by this formatter.
- All Known Implementing Classes:
 JwkKeyFormat,KeyFormatPem,KeyFormatRaw
public interface KeyFormat<T>
A format that can be used for exporting key material.
- 
Method Summary
 
- 
Method Details
- 
export
Exports the given crypto key and raw key material.- Parameters:
 key- the crypto key.rawKey- the raw key material.- Returns:
 - the exported key material in the given format.
 - Throws:
 NoSuchSecretException- if the secret could not be exported.
 
 -