Uses of Class
com.jalios.jcms.admin.instancereport.encryption.InstanceReportEncryptionException
Packages that use InstanceReportEncryptionException
-
Uses of InstanceReportEncryptionException in com.jalios.jcms.admin.instancereport
Methods in com.jalios.jcms.admin.instancereport that throw InstanceReportEncryptionExceptionModifier and TypeMethodDescriptionstatic StringInstanceReportUtils.computeFingerprint(PublicKey publicKey) static StringInstanceReportUtils.encryptJson(String jsonContent, PublicKey recipientPublicKey) Encrypts the instance report for the recipient: an ephemeral X25519 key pair is generated for this sending, a shared secret is computed (ECDH) with the recipient public key, the AES-256 key is derived from the shared secret with HKDF-SHA256, the JSON is encrypted with AES-256-GCM. The recipient computes the same shared secret with its private key and the ephemeral public key of the envelope.static PublicKeyInstanceReportUtils.loadPublicKey(File pemFile) Loads the X25519 public key of the recipient from a PEM file (PUBLIC KEY block), e.g.