Elffuss BraidHub

kikocis/EDC public

main · 1.3 KiBRawPermalink
1/*
2 * Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
3 *
4 * This program and the accompanying materials are made available under the
5 * terms of the Apache License, Version 2.0 which is available at
6 * https://www.apache.org/licenses/LICENSE-2.0
7 *
8 * SPDX-License-Identifier: Apache-2.0
9 *
10 * Contributors:
11 * Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation
12 *
13 */
14plugins {
15 `java-library`
16}
17
18dependencies {
19 api(project(":spi:common:identity-did-spi"))
20 api(project(":spi:common:identity-trust-spi"))
21 api(libs.nimbus.jwt) // nimbus classes are exposed on the API surface of CryptoConverter and DefaultJwsSignerProvider
22 implementation(project(":core:common:lib:util-lib"))
23 implementation(project(":spi:common:core-spi"))
24 implementation(project(":spi:common:jwt-signer-spi"))
25
26 // used for the Ed25519 Verifier in conjunction with OctetKeyPairs (OKP)
27 runtimeOnly(libs.tink)
28 // Java does not natively implement elliptic curve multiplication, so we need to get bouncy
29 implementation(libs.bouncyCastle.bcprovJdk18on)
30 testImplementation(testFixtures(project(":core:common:junit")))
31 testImplementation(testFixtures(project(":spi:common:identity-trust-spi")))
32 testRuntimeOnly(libs.tink)
33
34}