Most visited

Recently visited

Added in API level 1

CodeSource

public class CodeSource
extends Object implements Serializable

java.lang.Object
   ↳ java.security.CodeSource


旧版安全代码; 不使用。

Summary

Public constructors

CodeSource(URL url, Certificate[] certs)
CodeSource(URL url, CodeSigner[] signers)

Public methods

final Certificate[] getCertificates()
final CodeSigner[] getCodeSigners()
final URL getLocation()
boolean implies(CodeSource codesource)

Inherited methods

From class java.lang.Object

Public constructors

CodeSource

Added in API level 1
CodeSource (URL url, 
                Certificate[] certs)

Parameters
url URL
certs Certificate

CodeSource

Added in API level 1
CodeSource (URL url, 
                CodeSigner[] signers)

Parameters
url URL
signers CodeSigner

Public methods

getCertificates

Added in API level 1
Certificate[] getCertificates ()

Returns
Certificate[]

getCodeSigners

Added in API level 1
CodeSigner[] getCodeSigners ()

Returns
CodeSigner[]

getLocation

Added in API level 1
URL getLocation ()

Returns
URL

implies

Added in API level 1
boolean implies (CodeSource codesource)

Parameters
codesource CodeSource
Returns
boolean

Hooray!