T
- the concrete type of crypto material this implementation will providepublic interface CryptoMaterialProvider<T extends CryptoMaterial>
Modifier and Type | Method and Description |
---|---|
void |
provide(CryptoMaterialReceiver<T> receiver)
This method is called if a security handler needs its
CryptoMaterial . |
void provide(CryptoMaterialReceiver<T> receiver)
CryptoMaterial
. Every
implementation should call CryptoMaterialReceiver.receive(CryptoMaterial)
if all
information for a specific CryptoMaterial
is gathered, and evaluate the return value.
If a provider is not able to serve a valid CryptoMaterial
, it should cancel the request
by calling CryptoMaterialReceiver.cancel()
.receiver
- the callbackCopyright © 2024 levigo holding gmbh. All rights reserved.