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

net.dongliu.apk.parser.bean.ApkSigner Maven / Gradle / Ivy

The newest version!
package net.dongliu.apk.parser.bean;

import java.util.List;

import static java.util.Objects.requireNonNull;

/**
 * ApkSignV1 certificate file.
 */
public class ApkSigner {
    /**
     * The cert file path in apk file
     */
    private String path;
    /**
     * The meta info of certificate contained in this cert file.
     */
    private List certificateMetas;

    public ApkSigner(String path, List certificateMetas) {
        this.path = path;
        this.certificateMetas = requireNonNull(certificateMetas);
    }

    public String getPath() {
        return path;
    }

    public List getCertificateMetas() {
        return certificateMetas;
    }

    @Override
    public String toString() {
        return "ApkSigner{" +
                "path='" + path + '\'' +
                ", certificateMetas=" + certificateMetas +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy