Class AgileEncryptionVerifier

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class AgileEncryptionVerifier
    extends EncryptionVerifier
    implements java.lang.Cloneable
    Used when checking if a key is valid for a document
    • Constructor Detail

      • AgileEncryptionVerifier

        public AgileEncryptionVerifier​(java.lang.String descriptor)
    • Method Detail

      • addCertificate

        public void addCertificate​(java.security.cert.X509Certificate x509)
      • getKeySize

        public int getKeySize()
        The keysize (in bits) of the verifier data. This usually equals the keysize of the header, but only on a few exceptions, like files generated by Office for Mac, can be different.
        Returns:
        the keysize (in bits) of the verifier.
      • getBlockSize

        public int getBlockSize()
        The blockSize (in bytes) of the verifier data. This usually equals the blocksize of the header.
        Returns:
        the blockSize (in bytes) of the verifier,