Uses of Class
se.digg.dgc.encoding.BarcodeException
-
Packages that use BarcodeException Package Description se.digg.dgc.encoding Classes for encoding/decoding of Digital Covid Certificates.se.digg.dgc.encoding.impl Implementation for encoding/decoding of Digital Covid Certificates.se.digg.dgc.service Contains top-level interfaces and classes for issuing and validating Digital Covid Certificates.se.digg.dgc.service.impl Implementation classes for the DGC services. -
-
Uses of BarcodeException in se.digg.dgc.encoding
Methods in se.digg.dgc.encoding that throw BarcodeException Modifier and Type Method Description BarcodeBarcodeCreator. create(String contents)Creates a barcode containing the supplied contents.BarcodeBarcodeCreator. create(String contents, Charset characterSet)Creates a barcode containing the supplied contents which is a string of the given character set.byte[]BarcodeDecoder. decode(byte[] image, Barcode.BarcodeType type)Locates the barcode in the supplied image and decodes it.StringBarcodeDecoder. decodeToString(byte[] image, Barcode.BarcodeType type, Charset characterSet)Locates the barcode in the supplied image and decodes it into a string of the given character set. -
Uses of BarcodeException in se.digg.dgc.encoding.impl
Methods in se.digg.dgc.encoding.impl that throw BarcodeException Modifier and Type Method Description BarcodeDefaultBarcodeCreator. create(String contents)Creates a barcode containing the supplied contents.BarcodeDefaultBarcodeCreator. create(String contents, Charset characterSet)Creates a barcode containing the supplied contents which is a string of the given character set.byte[]DefaultBarcodeDecoder. decode(byte[] image, Barcode.BarcodeType type)Locates the barcode in the supplied image and decodes it.StringDefaultBarcodeDecoder. decodeToString(byte[] image, Barcode.BarcodeType type, Charset characterSet)Locates the barcode in the supplied image and decodes it into a string of the given character set. -
Uses of BarcodeException in se.digg.dgc.service
Methods in se.digg.dgc.service that throw BarcodeException Modifier and Type Method Description DigitalCovidCertificateDGCBarcodeDecoder. decodeBarcode(byte[] image)Given a barcode image the method verifies amd decodes the contents into its DCC payload representation.byte[]DGCBarcodeDecoder. decodeBarcodeToBytes(byte[] image)Given a barcode image the method verifies and decodes the contents into the CBOR encoding of the DCC payload.BarcodeDGCBarcodeEncoder. encodeToBarcode(byte[] dcc, Instant expiration)Based on the CBOR encoded DCC payload and a expiration time, the method signs it, deflates it, Base45 encodes it, and finally delivers it as a barcode.BarcodeDGCBarcodeEncoder. encodeToBarcode(DigitalCovidCertificate dcc, Instant expiration)Based on the DCC payload and a expiration time, the method encodes the payload to CBOR, signs it, deflates it, Base45 encodes it, and finally delivers it as a barcode. -
Uses of BarcodeException in se.digg.dgc.service.impl
Methods in se.digg.dgc.service.impl that throw BarcodeException Modifier and Type Method Description DigitalCovidCertificateDefaultDGCBarcodeDecoder. decodeBarcode(byte[] image)Given a barcode image the method verifies amd decodes the contents into its DCC payload representation.byte[]DefaultDGCBarcodeDecoder. decodeBarcodeToBytes(byte[] image)Given a barcode image the method verifies and decodes the contents into the CBOR encoding of the DCC payload.BarcodeDefaultDGCBarcodeEncoder. encodeToBarcode(byte[] dcc, Instant expiration)Based on the CBOR encoded DCC payload and a expiration time, the method signs it, deflates it, Base45 encodes it, and finally delivers it as a barcode.BarcodeDefaultDGCBarcodeEncoder. encodeToBarcode(DigitalCovidCertificate dcc, Instant expiration)Based on the DCC payload and a expiration time, the method encodes the payload to CBOR, signs it, deflates it, Base45 encodes it, and finally delivers it as a barcode.
-