From 0cc2128dd87943ee0a5630d6d157b64ae25b57de Mon Sep 17 00:00:00 2001 From: Ryan Nitz Date: Tue, 28 Jul 2026 13:29:42 -0400 Subject: [PATCH 1/2] Add the signer interface --- CHANGELOG.md | 6 +++++ pom.xml | 2 +- .../com/coinbase/core/credentials/Signer.java | 23 +++++++++++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 src/main/java/com/coinbase/core/credentials/Signer.java diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c8b82e..d8b735a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.2.1] - 2026-07-28 + +### Added + +- Added the signer interface + ## [1.2.0] - 2026-06-01 ### Changed diff --git a/pom.xml b/pom.xml index 5e33e45..48d9ffa 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ Coinbase Java Core Core Java Libraries for Sample Applications com.coinbase.core - 1.2.0 + 1.2.1 https://github.com/coinbase/core-java diff --git a/src/main/java/com/coinbase/core/credentials/Signer.java b/src/main/java/com/coinbase/core/credentials/Signer.java new file mode 100644 index 0000000..0ac1ce6 --- /dev/null +++ b/src/main/java/com/coinbase/core/credentials/Signer.java @@ -0,0 +1,23 @@ +/* + * Copyright 2024-present Coinbase Global, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.coinbase.core.credentials; + +import com.coinbase.core.errors.CoinbaseClientException; + +public interface Signer { + byte[] sign(byte[] message) throws CoinbaseClientException; +} From bcc4900cb3605cba4fb4462489ef12ac8568665c Mon Sep 17 00:00:00 2001 From: Ryan Nitz Date: Tue, 28 Jul 2026 13:32:43 -0400 Subject: [PATCH 2/2] Update date --- src/main/java/com/coinbase/core/credentials/Signer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/coinbase/core/credentials/Signer.java b/src/main/java/com/coinbase/core/credentials/Signer.java index 0ac1ce6..ac6be63 100644 --- a/src/main/java/com/coinbase/core/credentials/Signer.java +++ b/src/main/java/com/coinbase/core/credentials/Signer.java @@ -1,5 +1,5 @@ /* - * Copyright 2024-present Coinbase Global, Inc. + * Copyright 2026-present Coinbase Global, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.