open-eid / digidoc4j

DigiDoc for Java. Javadoc:
http://open-eid.github.io/digidoc4j
GNU Lesser General Public License v2.1
72 stars 39 forks source link

FORMAT_BDOC is not supported? #101

Closed hsynff closed 2 years ago

hsynff commented 3 years ago

In the legacy version of digidoc4j (jdigidoc) there was a field for bdoc format: FORMAT_BDOC

https://github.com/open-eid/digidoc4j/blob/277d6a54b01015ecc8b173822392e4c3f0013063/ddoc4j/src/main/java/org/digidoc4j/ddoc/SignedDoc.java#L55

Is it currently not supported by digidoc4j? Or It's moved to another place?

naare commented 3 years ago

DD4J supports creation of BDOC containers and TimeMark signatures, however default format is ASICE with LongTerm (timestamp + OCSP) signature profile . The usage of jdigidoc has been brought to minimal inside DD4J and it has been limited only for DDOC (to the formats you are refering to) validation.