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 Barcode
BarcodeCreator. create(String contents)
Creates a barcode containing the supplied contents.Barcode
BarcodeCreator. 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.String
BarcodeDecoder. 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 Barcode
DefaultBarcodeCreator. create(String contents)
Creates a barcode containing the supplied contents.Barcode
DefaultBarcodeCreator. 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.String
DefaultBarcodeDecoder. 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 DigitalCovidCertificate
DGCBarcodeDecoder. 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.Barcode
DGCBarcodeEncoder. 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.Barcode
DGCBarcodeEncoder. 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 DigitalCovidCertificate
DefaultDGCBarcodeDecoder. 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.Barcode
DefaultDGCBarcodeEncoder. 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.Barcode
DefaultDGCBarcodeEncoder. 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.
-