static final class ConstrainableAID.Verifier extends Object implements TrustVerifier, Serializable
ProxyTrust trust verifier for
ConstrainableAID instances.TrustVerifier.Context| Modifier and Type | Field and Description |
|---|---|
private RemoteMethodControl |
activator
The expected activator.
|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
Verifier(Activator activator)
Creates a verifier for the specified activator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTrustedObject(Object obj,
TrustVerifier.Context ctx)
Verifies trust in a proxy.
|
private static final long serialVersionUID
private final RemoteMethodControl activator
Verifier(Activator activator)
activator - the activatorIllegalArgumentException - if the specified activator is
not an instance of RemoteMethodControl or
TrustEquivalencepublic boolean isTrustedObject(Object obj, TrustVerifier.Context ctx) throws RemoteException
true if the
proxy passed as an argument is an instance of
ConstrainableAID and that proxy's internal
activator instance is trust equivalent to the activator of this
verifier; returns false otherwise.isTrustedObject in interface TrustVerifierobj - 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 occursCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.