From 9cc50a7d4fb16bd82db5d3a79864b219ab6faa63 Mon Sep 17 00:00:00 2001 From: CGantert345 <57003061+CGantert345@users.noreply.github.com> Date: Thu, 30 Nov 2023 10:31:32 +0100 Subject: deprecated function without dedicated security provider --- src/main/java/org/uic/barcode/Decoder.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/java/org/uic/barcode/Decoder.java') diff --git a/src/main/java/org/uic/barcode/Decoder.java b/src/main/java/org/uic/barcode/Decoder.java index 637bbf6..0878d8d 100644 --- a/src/main/java/org/uic/barcode/Decoder.java +++ b/src/main/java/org/uic/barcode/Decoder.java @@ -82,6 +82,7 @@ public class Decoder { * @throws UnsupportedOperationException the unsupported operation exception * @throws IOException Signals that an I/O exception has occurred. * @throws EncodingFormatException the encoding format exception + * @deprecated */ public int validateLevel1(PublicKey key) throws InvalidKeyException, NoSuchAlgorithmException, SignatureException, IllegalArgumentException, UnsupportedOperationException, IOException, EncodingFormatException { if (dynamicFrame != null) { @@ -115,6 +116,7 @@ public class Decoder { * @throws UnsupportedOperationException the unsupported operation exception * @throws IOException Signals that an I/O exception has occurred. * @throws EncodingFormatException the encoding format exception + * @deprecated */ public int validateLevel1(PublicKey key, String signingAlg) throws InvalidKeyException, NoSuchAlgorithmException, SignatureException, IllegalArgumentException, UnsupportedOperationException, IOException, EncodingFormatException { if (dynamicFrame != null ) { @@ -177,6 +179,7 @@ public class Decoder { * * @return the return code indicating errors * @throws EncodingFormatException + * @deprecated */ public int validateLevel2() throws EncodingFormatException { if (!isStaticHeader(data) && dynamicFrame != null) { -- cgit v1.2.3