Package org.robolectric.shadows
Class ShadowSigningInfo
- java.lang.Object
- 
- org.robolectric.shadows.ShadowSigningInfo
 
- 
 @Implements(value=android.content.pm.SigningInfo.class, minSdk=28) public class ShadowSigningInfo extends Object 
- 
- 
Field SummaryFields Modifier and Type Field Description static Parcelable.Creator<SigningInfo>CREATOR
 - 
Constructor SummaryConstructors Constructor Description ShadowSigningInfo()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Signature[]getApkContentsSigners()protected Signature[]getSigningCertificateHistory()protected booleanhasMultipleSigners()protected booleanhasPastSigningCertificates()voidsetPastSigningCertificates(Signature[] pastSigningCertificates)Sets the history of Signatures for this package.voidsetSignatures(Signature[] signatures)Set the current Signatures for this package.voidwriteToParcel(Parcel parcel, int flags)
 
- 
- 
- 
Field Detail- 
CREATORpublic static final Parcelable.Creator<SigningInfo> CREATOR 
 
- 
 - 
Method Detail- 
setSignaturespublic void setSignatures(Signature[] signatures) Set the current Signatures for this package. If signatures has a size greater than 1,hasMultipleSigners()will be true andgetSigningCertificateHistory()will return null.
 - 
setPastSigningCertificatespublic void setPastSigningCertificates(Signature[] pastSigningCertificates) Sets the history of Signatures for this package.
 - 
hasMultipleSigners@Implementation protected boolean hasMultipleSigners() 
 - 
hasPastSigningCertificates@Implementation protected boolean hasPastSigningCertificates() 
 - 
getSigningCertificateHistory@Implementation protected Signature[] getSigningCertificateHistory() 
 - 
getApkContentsSigners@Implementation protected Signature[] getApkContentsSigners() 
 - 
writeToParcel@Implementation public void writeToParcel(Parcel parcel, int flags) 
 
- 
 
-