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}.
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()