Android APIs
public class

CodeSource

extends Object
implements Serializable
java.lang.Object
   ↳ java.security.CodeSource

Class Overview

Legacy security code; do not use.

Summary

Public Constructors
CodeSource(URL location, Certificate[] certs)
CodeSource(URL location, CodeSigner[] signers)
Public Methods
final Certificate[] getCertificates()
final CodeSigner[] getCodeSigners()
final URL getLocation()
boolean implies(CodeSource cs)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CodeSource (URL location, Certificate[] certs)

Added in API level 1

Parameters
location URL
certs Certificate

public CodeSource (URL location, CodeSigner[] signers)

Added in API level 1

Parameters
location URL
signers CodeSigner

Public Methods

public final Certificate[] getCertificates ()

Added in API level 1

Returns
Certificate[]

public final CodeSigner[] getCodeSigners ()

Added in API level 1

Returns
CodeSigner[]

public final URL getLocation ()

Added in API level 1

Returns
URL

public boolean implies (CodeSource cs)

Added in API level 1

Parameters
cs CodeSource
Returns
boolean