Uses of Class
java.security.CodeSource
| Package | Description |
|---|---|
| java.net | |
| java.security |
Extensible cryptographic service provider infrastructure (SPI) for using
and defining services such as
Certificates,
Keys, KeyStores, MessageDigests, and Signatures. |
-
Uses of CodeSource in java.net
Methods in java.net with parameters of type CodeSource Modifier and Type Method Description protected PermissionCollectionURLClassLoader. getPermissions(CodeSource codesource)Gets all permissions for the specifiedcodesource. -
Uses of CodeSource in java.security
Methods in java.security that return CodeSource Modifier and Type Method Description CodeSourceProtectionDomain. getCodeSource()Methods in java.security with parameters of type CodeSource Modifier and Type Method Description protected Class<?>SecureClassLoader. defineClass(String name, byte[] b, int off, int len, CodeSource cs)Constructs a new class from an array of bytes containing a class definition in class file format with an optionalCodeSource.protected Class<?>SecureClassLoader. defineClass(String name, ByteBuffer b, CodeSource cs)Constructs a new class from an array of bytes containing a class definition in class file format with an optionalCodeSource.protected PermissionCollectionPolicySpi. engineGetPermissions(CodeSource codesource)Answers a PermissionCollection object containing the set of permissions granted to the specified CodeSource.PermissionCollectionPolicy. getPermissions(CodeSource cs)protected PermissionCollectionSecureClassLoader. getPermissions(CodeSource codesource)Returns thePermissionCollectionfor the specifiedCodeSource.booleanCodeSource. implies(CodeSource cs)Constructors in java.security with parameters of type CodeSource Constructor Description ProtectionDomain(CodeSource cs, PermissionCollection permissions)ProtectionDomain(CodeSource cs, PermissionCollection permissions, ClassLoader cl, Principal[] principals)