| Modifier and Type | Method and Description |
|---|---|
void |
SignatureAlgorithmInterface.assemble(GraphCollection gc,
String signatureGraphName)
Assembles a
GraphCollection (add signature(s) and a signature graph). |
void |
SignatureAlgorithmInterface.canonicalize(GraphCollection gc)
Canonicalizes a
GraphCollection for a unique representation (commonly blank node removal/labeling and sorting). |
void |
SignatureAlgorithmInterface.hash(GraphCollection gc,
String digestAlgo)
Calculates the hash value of a
GraphCollection and safes it in its SignatureData. |
void |
SignatureAlgorithmInterface.postCanonicalize(GraphCollection gc)
Executes extra steps after the actual canonicalization of a
GraphCollection |
void |
SignatureAlgorithmInterface.postHash(GraphCollection gc)
Executes extra steps after the actual hash calculation of a
GraphCollection |
static void |
SignatureVerifier.resetAfterVerification(GraphCollection gc)
Resets a graph collection after a verification
Removes all temporary hash and signature values
Removes MSGs and converts them back to triple representation without MSGs
|
void |
SignatureAlgorithmInterface.sign(GraphCollection gc,
Key privateKey,
String verficiationCertificate)
Signs
GraphCollection (calculate signature(s) using a certificate/key and the hash value(s)). |
static boolean |
SignatureVerifier.verify(GraphCollection gc,
Key publicKey)
Verify a graph collection using a public key
A graph collection can only be verified if it contains just a signature graph at root level and nothing else!
|
boolean |
SignatureAlgorithmInterface.verify(GraphCollection gc,
Key publicKey)
Verifies a signed graph collection using a public key
Involves canonicalization and hashing of the graph collection and a cryptographic signature check
|
static boolean |
SignatureVerifier.verify(GraphCollection gc,
X509Certificate cert)
Verify graph collection using a X.509 certificate
|
| Modifier and Type | Method and Description |
|---|---|
void |
SignatureAlgorithmCarroll2003.addC14NPrefix(GraphCollection gc)
Adds c14n prefix to the graph collection (reduces output size)
|
void |
SignatureAlgorithmSayers2004.assemble(GraphCollection gc,
String signatureGraphName) |
void |
SignatureAlgorithmCarroll2003.assemble(GraphCollection gc,
String signatureGraphName) |
void |
SignatureAlgorithmFisteus2010.assemble(GraphCollection gc,
String signatureGraphName) |
void |
SignatureAlgorithmTummarello2005.assemble(GraphCollection gc,
String signatureGraphName) |
void |
SignatureAlgorithmSayers2004.canonicalize(GraphCollection gc) |
void |
SignatureAlgorithmCarroll2003.canonicalize(GraphCollection gc) |
void |
SignatureAlgorithmFisteus2010.canonicalize(GraphCollection gc) |
void |
SignatureAlgorithmTummarello2005.canonicalize(GraphCollection gc) |
void |
SignatureAlgorithmFisteus2010.canonicalize(GraphCollection gc,
String digestAlgo)
Canonicalization sorts all triples by their hash values
This means that triples have to be hashed first
|
void |
SignatureAlgorithmSayers2004.hash(GraphCollection gc,
String digestAlgo) |
void |
SignatureAlgorithmCarroll2003.hash(GraphCollection gc,
String digestAlgo) |
void |
SignatureAlgorithmFisteus2010.hash(GraphCollection gc,
String digestAlgo) |
void |
SignatureAlgorithmTummarello2005.hash(GraphCollection gc,
String digestAlgo) |
void |
SignatureAlgorithmSayers2004.postCanonicalize(GraphCollection gc) |
void |
SignatureAlgorithmCarroll2003.postCanonicalize(GraphCollection gc) |
void |
SignatureAlgorithmFisteus2010.postCanonicalize(GraphCollection gc) |
void |
SignatureAlgorithmTummarello2005.postCanonicalize(GraphCollection gc) |
void |
SignatureAlgorithmSayers2004.postHash(GraphCollection gc) |
void |
SignatureAlgorithmCarroll2003.postHash(GraphCollection gc) |
void |
SignatureAlgorithmFisteus2010.postHash(GraphCollection gc) |
void |
SignatureAlgorithmTummarello2005.postHash(GraphCollection gc) |
void |
SignatureAlgorithmSayers2004.sign(GraphCollection gc,
Key privateKey,
String verificationCertificate) |
void |
SignatureAlgorithmCarroll2003.sign(GraphCollection gc,
Key privateKey,
String verificationCertificate) |
void |
SignatureAlgorithmFisteus2010.sign(GraphCollection gc,
Key privateKey,
String verificationCertificate) |
void |
SignatureAlgorithmTummarello2005.sign(GraphCollection gc,
Key privateKey,
String verficiationCertificate) |
boolean |
SignatureAlgorithmSayers2004.verify(GraphCollection gc,
Key publicKey) |
boolean |
SignatureAlgorithmCarroll2003.verify(GraphCollection gc,
Key publicKey) |
boolean |
SignatureAlgorithmFisteus2010.verify(GraphCollection gc,
Key publicKey) |
boolean |
SignatureAlgorithmTummarello2005.verify(GraphCollection gc,
Key publicKey) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Assembler.assemble(GraphCollection gc,
String signatureGraphName)
Assembles a
GraphCollection, adds signature by default
Adds a signature graph with signature statements to the GraphCollection. |
static void |
Assembler.assemble(GraphCollection gc,
String signatureGraphName,
Boolean addSignature)
Assembles a
GraphCollection
Adds a signature graph with signature statements to the GraphCollection. |
static void |
Signer.sign(GraphCollection gc,
Key privateKey,
String verficiationCertificate)
Signs a
GraphCollection |
static boolean |
Verifier.verify(GraphCollection gc,
Key publicKey)
Verifies a
GraphCollection using a public key |
| Modifier and Type | Method and Description |
|---|---|
static GraphCollection |
TriGPlusReader.readFile(String path)
Read a file (prefixes are resolved by default).
|
static GraphCollection |
TriGPlusReader.readFile(String path,
boolean resolvePrefixes)
Read a file.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
TriGPlusWriter.writeFile(GraphCollection gc,
String path)
Writes a
GraphCollection to a file (prefixes are applied by
default). |
static void |
TriGPlusWriter.writeFile(GraphCollection gc,
String path,
boolean applyPrefixes)
Writes a
GraphCollection to a file. |
Copyright © 2018. All rights reserved.