I had used ghostscript for generate PDF/A with password, somehow it not working as expect.
I can have PDF with encrypted however no PDF/A compatibilities.
In other case i can create PDF/A file without password and what i got from PDF file is compatible with PDFA.
Not sure is this the case that PDF/A and password is not allow? Any one can explain this for me?
Here my sample:
gs -dPDFA=3 -sColorConversionStrategy=RGB -dBATCH -dNOPAUSE -dEmbedAllFonts=true -dSubsetFonts=true -sProcessColorModel=DeviceCMYK -sDEVICE=pdfwrite -sOwnerPassword=12345 -sUserPassword=1234 -sOutputFile=test-pass.pdf pdf.pdf
question from:https://stackoverflow.com/questions/65921878/pdfa-is-not-allow-with-password