Uses of Interface
zeroecho.core.spec.ContextSpec
Packages that use ContextSpec
Package
Description
Core cryptography engine and registry for ZeroEcho.
Concrete cryptographic algorithms and small helpers used by algorithms.
AES algorithm implementation and runtime wiring.
ChaCha algorithm implementation and runtime wiring.
Streaming signature contexts and helpers that adapt JCA
Signature to a pull-based pipeline.Diffie-Hellman (DH) algorithm integration.
Digest algorithms (SHA-2, SHA-3, SHAKE) and their streaming contexts.
Elliptic Curve Diffie-Hellman (ECDH) key agreement integration.
Elliptic Curve Digital Signature Algorithm (ECDSA) integration.
ElGamal asymmetric encryption integration.
HMAC algorithms, streaming MAC contexts, and key specifications.
RSA encryption and signature integration.
XDH (X25519/X448) Diffie-Hellman key agreement integration.
Policy enforcement for algorithms, keys, and specifications.
Specifications for keys and per-operation parameters.
Provider contracts for context construction and exact key operations.
Streaming tag computation and verification for digests, MACs, and digital
signatures.
Consumer-facing ZeroEcho runtime and high-level integration APIs.
Builders for composing streaming data-content pipelines across core sources
and algorithm-specific stages.
Hybrid key exchange (KEX) utilities combining a classic agreement and a
post-quantum KEM-style agreement into one derived shared secret.
Hybrid signature composition for streaming pipelines.
-
Uses of ContextSpec in zeroecho.core
Methods in zeroecho.core with type parameters of type ContextSpecModifier 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.Methods in zeroecho.core that return ContextSpecModifier and TypeMethodDescriptionCapability.defaultSpec()Returns the value of thedefaultSpecrecord component.Methods in zeroecho.core that return types with arguments of type ContextSpecModifier and TypeMethodDescriptionClass<? extends ContextSpec> Capability.specType()Returns the value of thespecTyperecord component.Constructors in zeroecho.core with parameters of type ContextSpecModifierConstructorDescriptionCapability(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 ContextSpec in zeroecho.core.alg
Methods in zeroecho.core.alg with type parameters of type ContextSpecModifier 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 ContextSpec in zeroecho.core.alg.aes
Classes in zeroecho.core.alg.aes that implement ContextSpecModifier and TypeClassDescriptionfinal classStatic configuration for AES encryption and decryption. -
Uses of ContextSpec in zeroecho.core.alg.chacha
Subinterfaces of ContextSpec in zeroecho.core.alg.chachaClasses in zeroecho.core.alg.chacha that implement ContextSpecModifier and TypeClassDescriptionfinal classChaCha20-Poly1305 algorithm specificationfinal classChaCha20 stream cipher specification -
Uses of ContextSpec in zeroecho.core.alg.common.sig
Methods in zeroecho.core.alg.common.sig that return ContextSpecModifier and TypeMethodDescriptionSignatureInteropProfile.contextSpec()Returns the explicit ZeroEcho context specification.Constructors in zeroecho.core.alg.common.sig with parameters of type ContextSpecModifierConstructorDescriptionSignatureInteropProfile(String requestedAlgorithmId, String keyAlgorithmId, String contextAlgorithmId, ContextSpec contextSpec, SignatureInteropProfile.SignatureRepresentation signatureRepresentation, int internalSignatureLength) Creates a profile. -
Uses of ContextSpec in zeroecho.core.alg.dh
Classes in zeroecho.core.alg.dh that implement ContextSpec -
Uses of ContextSpec in zeroecho.core.alg.digest
Classes in zeroecho.core.alg.digest that implement ContextSpecModifier and TypeClassDescriptionfinal classDigest parameters for SHA-2, SHA-3, and SHAKE -
Uses of ContextSpec in zeroecho.core.alg.ecdh
Classes in zeroecho.core.alg.ecdh that implement ContextSpec -
Uses of ContextSpec in zeroecho.core.alg.ecdsa
Classes in zeroecho.core.alg.ecdsa that implement ContextSpec -
Uses of ContextSpec in zeroecho.core.alg.elgamal
Classes in zeroecho.core.alg.elgamal that implement ContextSpec -
Uses of ContextSpec in zeroecho.core.alg.hmac
Classes in zeroecho.core.alg.hmac that implement ContextSpecModifier and TypeClassDescriptionfinal classSpecification for HMAC operation parameters -
Uses of ContextSpec in zeroecho.core.alg.rsa
Classes in zeroecho.core.alg.rsa that implement ContextSpecModifier and TypeClassDescriptionfinal classSpecification of RSA encryption parameters including padding mode, hash function, and optional OAEP label.final classSpecification of RSA signature parameters including padding mode, hash function, and (for PSS) salt length. -
Uses of ContextSpec in zeroecho.core.alg.xdh
Classes in zeroecho.core.alg.xdh that implement ContextSpecModifier and TypeClassDescriptionenumSpecification for X25519 and X448 Diffie-Hellman over Montgomery-form elliptic curves. -
Uses of ContextSpec in zeroecho.core.policy
Classes in zeroecho.core.policy with type parameters of type ContextSpecModifier and TypeInterfaceDescriptioninterfaceCryptoPolicy<S extends ContextSpec, K extends Key>A strategy interface for validating cryptographic keys, usages, and specifications before contexts are created.Methods in zeroecho.core.policy with type parameters of type ContextSpecModifier and TypeMethodDescriptionstatic <S extends ContextSpec, K extends Key>
CryptoPolicy<S, K> CryptoPolicy.minStrength(int minBits) Returns a policy that enforces a minimum estimated key strength.static <S extends ContextSpec, K extends Key>
CryptoPolicy<S, K> CryptoPolicy.permissive()Returns a permissive policy that accepts all keys, roles, and specs without validation. -
Uses of ContextSpec in zeroecho.core.spec
Classes in zeroecho.core.spec that implement ContextSpecModifier and TypeClassDescriptionenumContext specification for algorithms that require no additional parameters. -
Uses of ContextSpec in zeroecho.core.spi
Classes in zeroecho.core.spi with type parameters of type ContextSpecModifier and TypeInterfaceDescriptioninterfaceContextFactoryKS<C extends CryptoContext, K extends Key, S extends ContextSpec>Creates a cryptographic context from a key and a context specification. -
Uses of ContextSpec in zeroecho.core.tag
Methods in zeroecho.core.tag with parameters of type ContextSpecModifier and TypeMethodDescriptionstatic TagEngineBuilder<Signature> TagEngineBuilder.signature(ZeroEchoSession session, String id, Key key, ContextSpec spec) Creates a builder for a signature engine of the given algorithm. -
Uses of ContextSpec in zeroecho.sdk
Methods in zeroecho.sdk with type parameters of type ContextSpecModifier and TypeMethodDescription<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.Methods in zeroecho.sdk that return types with arguments of type ContextSpecModifier and TypeMethodDescriptionZeroEchoSession.policy()Returns the policy owned by this session.Method parameters in zeroecho.sdk with type arguments of type ContextSpecModifier and TypeMethodDescriptionZeroEchoSession.withPolicy(CryptoPolicy<ContextSpec, Key> newPolicy) Returns a session with the supplied policy and this session's audit configuration. -
Uses of ContextSpec in zeroecho.sdk.builders
Methods in zeroecho.sdk.builders with parameters of type ContextSpecModifier and TypeMethodDescriptionSignatureTrailerDataContentBuilder.HybridSelector.sign(String classicSigId, String pqcSigId, ContextSpec classicSpec, ContextSpec pqcSpec, HybridSignatureProfile.VerifyRule rule, PrivateKey classicPrivate, PrivateKey pqcPrivate, int maxBodyBytes) Creates a hybrid signing trailer with optional specs and explicitmaxBodyBytes.SignatureTrailerDataContentBuilder.SingleSelector.sign(String algorithmId, PrivateKey privateKey, ContextSpec spec) Creates a signing trailer for a single signature algorithm with an optional spec.HybridKexBuilder.ClassicAgreement.spec(ContextSpec spec) Sets the classic context spec (algorithm parameters).HybridKexBuilder.ClassicPairMessage.spec(ContextSpec spec) Sets the classic context spec (algorithm parameters).HybridKexBuilder.PqcKem.spec(ContextSpec spec) Sets the PQC context spec (algorithm parameters).SignatureTrailerDataContentBuilder.HybridSelector.verify(String classicSigId, String pqcSigId, ContextSpec classicSpec, ContextSpec pqcSpec, HybridSignatureProfile.VerifyRule rule, PublicKey classicPublic, PublicKey pqcPublic, int maxBodyBytes) Creates a hybrid verification trailer with optional specs and explicitmaxBodyBytes.SignatureTrailerDataContentBuilder.SingleSelector.verify(String algorithmId, PublicKey publicKey, ContextSpec spec) Creates a verification trailer for a single signature algorithm with an optional spec. -
Uses of ContextSpec in zeroecho.sdk.hybrid.kex
Methods in zeroecho.sdk.hybrid.kex with parameters of type ContextSpecModifier and TypeMethodDescriptionstatic HybridKexContextHybridKexContexts.initiator(ZeroEchoSession session, HybridKexProfile profile, String classicAlgId, PrivateKey classicInitiatorPrivate, PublicKey classicPeerPublic, ContextSpec classicSpec, String pqcAlgId, PublicKey pqcPeerPublic, ContextSpec pqcSpec) Creates an initiator-side hybrid KEX context.static HybridKexContextHybridKexContexts.initiatorPairMessage(ZeroEchoSession session, HybridKexProfile profile, String classicAlgId, KeyPairKey classicInitiatorKeyPair, ContextSpec classicSpec, String pqcAlgId, PublicKey pqcPeerPublic, ContextSpec pqcSpec) Creates an initiator-side hybrid KEX where the classic leg is message-based (PAIR_MESSAGE).static HybridKexContextHybridKexContexts.responder(ZeroEchoSession session, HybridKexProfile profile, String classicAlgId, PrivateKey classicResponderPrivate, PublicKey classicPeerPublic, ContextSpec classicSpec, String pqcAlgId, PrivateKey pqcResponderPrivate, ContextSpec pqcSpec) Creates a responder-side hybrid KEX context.static HybridKexContextHybridKexContexts.responderPairMessage(ZeroEchoSession session, HybridKexProfile profile, String classicAlgId, KeyPairKey classicResponderKeyPair, ContextSpec classicSpec, String pqcAlgId, PrivateKey pqcResponderPrivate, ContextSpec pqcSpec) Creates a responder-side hybrid KEX where the classic leg is message-based (PAIR_MESSAGE). -
Uses of ContextSpec in zeroecho.sdk.hybrid.signature
Methods in zeroecho.sdk.hybrid.signature that return ContextSpecModifier and TypeMethodDescriptionHybridSignatureProfile.classicSpec()Returns the value of theclassicSpecrecord component.HybridSignatureProfile.pqcSpec()Returns the value of thepqcSpecrecord component.Constructors in zeroecho.sdk.hybrid.signature with parameters of type ContextSpecModifierConstructorDescriptionHybridSignatureProfile(String classicSigId, String pqcSigId, ContextSpec classicSpec, ContextSpec pqcSpec, HybridSignatureProfile.VerifyRule verifyRule) Canonical constructor with invariant checks.