public interface TrustVerifier
Security.verifyObjectTrust
, allowing
the objects that are trusted to be extended.Modifier and Type | Interface and Description |
---|---|
static interface |
TrustVerifier.Context
Defines the context for trust verification used by
TrustVerifier instances and Security.verifyObjectTrust . |
Modifier and Type | Method and Description |
---|---|
boolean |
isTrustedObject(Object obj,
TrustVerifier.Context ctx)
Returns
true if the specified object is known to be
trusted to correctly implement its contract; returns false
otherwise. |
boolean isTrustedObject(Object obj, TrustVerifier.Context ctx) throws RemoteException
true
if the specified object is known to be
trusted to correctly implement its contract; returns false
otherwise.obj
- the object in which to verify trustctx
- the trust verifier context, to aid in verification of
the specified object and its componentstrue
if the specified object is known to be
trusted to correctly implement its contract; false
otherwiseRemoteException
- if a communication-related exception occursSecurityException
- if a security exception occursNullPointerException
- if any argument is null