All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jpedal.io.security.BaseDecryption Maven / Gradle / Ivy

There is a newer version: 7.15.25
Show newest version
/*
 * ===========================================
 * Java Pdf Extraction Decoding Access Library
 * ===========================================
 *
 * Project Info:  http://www.idrsolutions.com
 * Help section for developers at http://www.idrsolutions.com/support/
 *
 * (C) Copyright 1997-2017 IDRsolutions and Contributors.
 *
 * This file is part of JPedal/JPDF2HTML5
 *
 @LICENSE@
 *
 * ---------------
 * BaseDecryption.java
 * ---------------
 */
package org.jpedal.io.security;

import java.security.Key;
import java.security.cert.Certificate;

import org.jpedal.exception.PdfSecurityException;

public interface BaseDecryption {

    byte[] v5Decrypt(final byte[] rawValue, final byte[] key) throws PdfSecurityException;

    byte[] decodeAES(final byte[] encKey, final byte[] encData, final byte[] ivData) throws Exception;

    byte[] readCertificate(final byte[][] recipients, final Certificate certificate, final Key key);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy