Searched refs:dbEncryptionContext (Results 1 – 4 of 4) sorted by relevance
54 DBEncryptionContext dbEncryptionContext = in getAuctionOblivioushttpRequestContext() local59 if (Objects.isNull(dbEncryptionContext)) { in getAuctionOblivioushttpRequestContext()74 ObliviousHttpKeyConfig.fromSerializedKeyConfig(dbEncryptionContext.getKeyConfig()), in getAuctionOblivioushttpRequestContext()75 EncapsulatedSharedSecret.create(dbEncryptionContext.getSharedSecret()), in getAuctionOblivioushttpRequestContext()76 dbEncryptionContext.getSeed(), in getAuctionOblivioushttpRequestContext()77 dbEncryptionContext.getHasMediaTypeChanged()); in getAuctionOblivioushttpRequestContext()
52 DBEncryptionContext dbEncryptionContext = in testBuildEncryptionContext_success() local63 assertThat(dbEncryptionContext.getContextId()).isEqualTo(CONTEXT_ID_1); in testBuildEncryptionContext_success()64 assertThat(dbEncryptionContext.getKeyConfig()) in testBuildEncryptionContext_success()66 assertThat(dbEncryptionContext.getSharedSecret()).isEqualTo(SHARED_SECRET_BYTES); in testBuildEncryptionContext_success()67 assertThat(dbEncryptionContext.getSeed()).isEqualTo(SEED_BYTES); in testBuildEncryptionContext_success()
85 DBEncryptionContext dbEncryptionContext = in getEncryptionContextForIdAndKeyType() local93 dbEncryptionContext.getKeyConfig()), in getEncryptionContextForIdAndKeyType()95 dbEncryptionContext.getSharedSecret()), in getEncryptionContextForIdAndKeyType()96 dbEncryptionContext.getSeed(), in getEncryptionContextForIdAndKeyType()97 dbEncryptionContext.getHasMediaTypeChanged())) in getEncryptionContextForIdAndKeyType()
117 DBEncryptionContext dbEncryptionContext = in test_insertContext_success() local121 assertThat(dbEncryptionContext).isNotNull(); in test_insertContext_success()122 assertThat(dbEncryptionContext.getContextId()).isEqualTo(CONTEXT_ID_1); in test_insertContext_success()125 assertThat(dbEncryptionContext.getKeyConfig()) in test_insertContext_success()127 assertThat(dbEncryptionContext.getSharedSecret()).isEqualTo(SHARED_SECRET_BYTES); in test_insertContext_success()128 assertThat(dbEncryptionContext.getSeed()).isEqualTo(SEED_BYTES); in test_insertContext_success()