Back to project page devoxx-2013-android-app-security.
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.
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()); } }