Uses of Enum Class
zeroecho.core.KeyUsage
Packages that use KeyUsage
Package
Description
Core cryptography engine and registry for ZeroEcho.
Concrete cryptographic algorithms and small helpers used by algorithms.
Auditing utilities for cryptographic contexts, including event contracts and
a JUL-backed listener.
Policy enforcement for algorithms, keys, and specifications.
Consumer-facing ZeroEcho runtime and high-level integration APIs.
-
Uses of KeyUsage in zeroecho.core
Subclasses with type arguments of type KeyUsage in zeroecho.coreModifier and TypeClassDescriptionenumDeclares the intended purpose(s) of a cryptographic key.Methods in zeroecho.core that return KeyUsageModifier and TypeMethodDescriptionCapability.role()Returns the value of therolerecord component.static KeyUsageReturns the enum constant of this class with the specified name.static KeyUsage[]KeyUsage.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in zeroecho.core that return types with arguments of type KeyUsageModifier and TypeMethodDescriptionCryptoAlgorithm.roles()Returns the set of roles supported by this algorithm.Methods in zeroecho.core with parameters of type KeyUsageModifier and TypeMethodDescriptionprotected final <C extends CryptoContext, K extends Key, S extends ContextSpec>
voidCryptoAlgorithm.bindContext(KeyUsage role, Class<C> ctxType, Class<K> keyType, Class<S> specType, ContextFactoryKS<C, K, S> factory, Supplier<? extends S> defaultSpec) Binds a role to a concrete context factory and its expected key/spec types.final <C extends CryptoContext, K extends Key, S extends ContextSpec>
CCryptoAlgorithm.createContext(KeyUsage role, K key, S spec) Creates a newCryptoContextfor the given role, key, and optional spec.final booleanReturns whether this algorithm supports the given role.Method parameters in zeroecho.core with type arguments of type KeyUsageModifier and TypeMethodDescriptionCatalogSelector.selectByFamilyAndRoles(AlgorithmFamily family, Collection<KeyUsage> requireAllRoles) Returns algorithm ids that belong to the given family and contain all required roles.CatalogSelector.selectByRoles(Collection<KeyUsage> requireAllRoles) Returns algorithm ids that contain all the given roles, regardless of family.Constructors in zeroecho.core with parameters of type KeyUsageModifierConstructorDescriptionCapability(String algorithmId, AlgorithmFamily family, KeyUsage role, Class<? extends CryptoContext> contextType, Class<? extends Key> keyType, Class<? extends ContextSpec> specType, ContextSpec defaultSpec) Validates the capability metadata. -
Uses of KeyUsage in zeroecho.core.alg
Methods in zeroecho.core.alg with parameters of type KeyUsageModifier and TypeMethodDescriptionprotected <C extends CryptoContext, K extends Key, S extends ContextSpec>
voidAbstractCryptoAlgorithm.capability(AlgorithmFamily family, KeyUsage role, Class<C> ctxType, Class<K> keyType, Class<S> specType, ContextFactoryKS<C, K, S> factory, Supplier<? extends S> defaultSpec) Declares a capability for this algorithm and binds a runtime factory for the given role. -
Uses of KeyUsage in zeroecho.core.audit
Methods in zeroecho.core.audit with parameters of type KeyUsageModifier and TypeMethodDescriptiondefault voidLegacy cumulative byte counter for any role.voidLogs the legacy cumulative byte counter.default voidAuditListener.onContextCreatedMeta(String ctxId, String algoId, String provider, KeyUsage role, String keyFingerprint, Map<String, Object> specMeta) Creation event with correlation id and non-secret specification metadata.voidJulAuditListenerStd.onContextCreatedMeta(String ctxId, String algoId, String provider, KeyUsage role, String keyFingerprint, Map<String, Object> specMeta) Logs creation metadata with correlation id and non-secret spec attributes.static CryptoContextAuditedContexts.wrap(CryptoContext ctx, AuditListener audit, KeyUsage role) Wraps a crypto context with an auditing proxy that emits lifecycle, progress, and error events while preserving the original behavior. -
Uses of KeyUsage in zeroecho.core.policy
Methods in zeroecho.core.policy with parameters of type KeyUsage -
Uses of KeyUsage in zeroecho.sdk
Methods in zeroecho.sdk with parameters of type KeyUsageModifier and TypeMethodDescription<C extends CryptoContext, K extends Key>
CZeroEchoSession.createContext(String id, KeyUsage role, K key) Creates a context using the selected algorithm's default specification.<C extends CryptoContext, K extends Key, S extends ContextSpec>
CZeroEchoSession.createContext(String id, KeyUsage role, K key, S spec) Creates a context after applying this session's policy and audit configuration.