Interface DigestProvider<T extends ProviderConfig>
- Type Parameters:
T- type of the custom configuration object
- All Superinterfaces:
SecurityProvider
Provider that can create digests of bytes, and then verify them.
The digest may be a signature, HMAC or similar.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceFunction to generate a digest from bytes.static classDigest support created for each named digest configuration, used bySecurityforSecurity.digest(String, byte[])andSecurity.verifyDigest(String, byte[], String)methods.static interfaceFunction to verify a digest string. -
Method Summary
Modifier and TypeMethodDescriptionCreate digest support from configuration.Create digest support from configuration object.Methods inherited from interface SecurityProvider
supportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjectsModifier and TypeMethodDescriptiondefault Collection<Class<? extends Annotation>> Provide extension annotations supported by this provider (e.g.default Collection<String> A collection of attribute names expected by this provider to override endpoint configuration.default Collection<String> Keys expected in configuration.default Collection<Class<? extends ProviderConfig>> Class of the configuration type.
-
Method Details
-
digest
Create digest support from configuration.- Parameters:
config- config located on the node of the specific digestconfignode- Returns:
- digest support to digest/verify
-
digest
Create digest support from configuration object.- Parameters:
providerConfig- configuring a specific digest- Returns:
- digest support to digest/verify
-