Searched refs:dbEncryptionContext (Results 1 – 4 of 4) sorted by relevance
51 DBEncryptionContext dbEncryptionContext = in getAuctionOblivioushttpRequestContext() local56 if (Objects.isNull(dbEncryptionContext)) { in getAuctionOblivioushttpRequestContext()66 ObliviousHttpKeyConfig.fromSerializedKeyConfig(dbEncryptionContext.getKeyConfig()), in getAuctionOblivioushttpRequestContext()67 EncapsulatedSharedSecret.create(dbEncryptionContext.getSharedSecret()), in getAuctionOblivioushttpRequestContext()68 dbEncryptionContext.getSeed(), in getAuctionOblivioushttpRequestContext()69 dbEncryptionContext.getHasMediaTypeChanged()); in getAuctionOblivioushttpRequestContext()
57 DBEncryptionContext dbEncryptionContext = in testBuildEncryptionContext_success() local68 assertThat(dbEncryptionContext.getContextId()).isEqualTo(CONTEXT_ID_1); in testBuildEncryptionContext_success()69 assertThat(dbEncryptionContext.getKeyConfig()) in testBuildEncryptionContext_success()71 assertThat(dbEncryptionContext.getSharedSecret()).isEqualTo(SHARED_SECRET_BYTES); in testBuildEncryptionContext_success()72 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()
113 DBEncryptionContext dbEncryptionContext = in test_insertContext_success() local117 assertThat(dbEncryptionContext).isNotNull(); in test_insertContext_success()118 assertThat(dbEncryptionContext.getContextId()).isEqualTo(CONTEXT_ID_1); in test_insertContext_success()121 assertThat(dbEncryptionContext.getKeyConfig()) in test_insertContext_success()123 assertThat(dbEncryptionContext.getSharedSecret()).isEqualTo(SHARED_SECRET_BYTES); in test_insertContext_success()124 assertThat(dbEncryptionContext.getSeed()).isEqualTo(SEED_BYTES); in test_insertContext_success()