次の方法で共有


JarEntry.GetCodeSigners Method

Definition

Returns the CodeSigner objects for this entry, or null if none.

[Android.Runtime.Register("getCodeSigners", "()[Ljava/security/CodeSigner;", "GetGetCodeSignersHandler")]
public virtual Java.Security.CodeSigner[]? GetCodeSigners ();
[<Android.Runtime.Register("getCodeSigners", "()[Ljava/security/CodeSigner;", "GetGetCodeSignersHandler")>]
abstract member GetCodeSigners : unit -> Java.Security.CodeSigner[]
override this.GetCodeSigners : unit -> Java.Security.CodeSigner[]

Returns

the CodeSigner objects for this entry, or null if none.

Attributes

Remarks

Returns the CodeSigner objects for this entry, or null if none. This method can only be called once the JarEntry has been completely verified by reading from the entry input stream until the end of the stream has been reached. Otherwise, this method will return null.

The returned array comprises all the code signers that have signed this entry.

Added in 1.5.

Java documentation for java.util.jar.JarEntry.getCodeSigners().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also