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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Signature[]
protected Signature[]
protected boolean
protected boolean
void
setPastSigningCertificates
(Signature[] pastSigningCertificates) Sets the history of Signatures for this package.void
setSignatures
(Signature[] signatures) Set the current Signatures for this package.void
writeToParcel
(Parcel parcel, int flags)
-
Field Details
-
CREATOR
-
-
Constructor Details
-
ShadowSigningInfo
public ShadowSigningInfo()
-
-
Method Details
-
setSignatures
Set the current Signatures for this package. If signatures has a size greater than 1,hasMultipleSigners()
will be true andgetSigningCertificateHistory()
will return null. -
setPastSigningCertificates
Sets the history of Signatures for this package. -
hasMultipleSigners
-
hasPastSigningCertificates
-
getSigningCertificateHistory
-
getApkContentsSigners
-
writeToParcel
-