Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change doc to take account of cert binder improvement #6

Open
bblfish opened this issue Aug 7, 2017 · 0 comments
Open

change doc to take account of cert binder improvement #6

bblfish opened this issue Aug 7, 2017 · 0 comments
Assignees

Comments

@bblfish
Copy link
Member

bblfish commented Aug 7, 2017

As shown in httpMethods.sc we can transform a public key in one step into a
pointed graph:

def pubKeyPG = {
    import ops._
    implicit val bind = run.cosy.crypto.Cert.binderWithName[Rdf](Uri("#key"))
    pubKey.map(_.toPG)
   }

The name can be specified immediately and so no need to change the name of the pointer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants