fabric.lang.security
Interface Principal

All Superinterfaces:
Object
All Known Subinterfaces:
DelegatingPrincipal
All Known Implementing Classes:
DelegatingPrincipal._Impl, DelegatingPrincipal._Proxy, Principal._Impl, Principal._Proxy

public interface Principal
extends Object

This is implemented in Java so that the constructor can provide default labels so that a Principal p can be labelled with {p→_; p←p}.


Nested Class Summary
static class Principal._Impl
           
static class Principal._Proxy
           
static interface Principal._Static
           
 
Method Summary
 boolean delegatesTo(Principal p)
           
 boolean equals(Principal p)
           
 ActsForProof findProofDownto(Store store, Principal q, java.lang.Object searchState)
           
 ActsForProof findProofUpto(Store store, Principal p, java.lang.Object searchState)
           
 PrivateKeyObject getPrivateKeyObject()
           
 java.security.PublicKey getPublicKey()
           
 boolean isAuthorized(java.lang.Object authPrf, Closure closure, Label lb, boolean executeNow)
           
 java.lang.String name()
           
 
Methods inherited from interface fabric.lang.Object
$forceRenumber, $getOnum, $getProxy, $getStore, $unwrap, createStatistics, equals, fetch, get$label, idEquals
 

Method Detail

name

java.lang.String name()

delegatesTo

boolean delegatesTo(Principal p)

equals

boolean equals(Principal p)

isAuthorized

boolean isAuthorized(java.lang.Object authPrf,
                     Closure closure,
                     Label lb,
                     boolean executeNow)

findProofUpto

ActsForProof findProofUpto(Store store,
                           Principal p,
                           java.lang.Object searchState)

findProofDownto

ActsForProof findProofDownto(Store store,
                             Principal q,
                             java.lang.Object searchState)

getPublicKey

java.security.PublicKey getPublicKey()

getPrivateKeyObject

PrivateKeyObject getPrivateKeyObject()