Package sop.operation

Interface ExtractCert


  • public interface ExtractCert
    • Method Detail

      • noArmor

        ExtractCert noArmor()
        Disable ASCII armor encoding.
        Returns:
        builder instance
      • key

        default Ready key​(byte[] key)
                   throws IOException,
                          SOPGPException.BadData
        Extract the cert(s) from the provided key(s).
        Parameters:
        key - byte array containing the encoding of one or more OpenPGP key
        Returns:
        result containing the encoding of the keys certs
        Throws:
        IOException - in case of an IO error
        SOPGPException.BadData - if the byte array does not contain an OpenPGP key