Android Open Source - devoxx-2013-android-app-security Public Key Info






From Project

Back to project page devoxx-2013-android-app-security.

License

The source code is released under:

Apache License

If you think the Android project devoxx-2013-android-app-security listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package be.idamf.android.tamperdetection.data;
/* w  w w .  j ava  2  s  .  c  om*/
import java.util.Date;

/**
 * Public key data.
 */
public final class PublicKeyInfo {

    private final String subject;
    private final String issuer;
    private final Date validFrom;
    private final Date validUntil;

    public PublicKeyInfo(String subject, String issuer, Date validFrom, Date validUntil) {
        this.subject = subject;
        this.issuer = issuer;
        this.validFrom = new Date(validFrom.getTime());
        this.validUntil = new Date(validUntil.getTime());
    }

    public String getSubject() {
        return subject;
    }

    public String getIssuer() {
        return issuer;
    }

    public Date getValidFrom() {
        return new Date(validFrom.getTime());
    }

    public Date getValidUntil() {
        return new Date(validUntil.getTime());
    }
}




Java Source Code List

be.idamf.android.tamperdetection.MainActivity.java
be.idamf.android.tamperdetection.data.PublicKeyInfo.java
be.idamf.android.tamperdetection.pinning.TrustAllTrustManager.java
be.idamf.android.tamperdetection.task.EnvironmentChecker.java
be.idamf.android.tamperdetection.task.RootDetector.java
be.idamf.android.tamperdetection.ui.EnvironmentCheckFragment.java
be.idamf.android.tamperdetection.ui.NetworkCheckFragment.java
be.idamf.android.tamperdetection.ui.RootCheckFragment.java
be.idamf.android.tamperdetection.util.ExecShell.java
be.idamf.android.tamperdetection.util.RootDetectionUtils.java
be.idamf.android.tamperdetection.util.TamperDetectionUtils.java