![JAR search and dependency download from the Maven repository](/logo.png)
bali.notary.Citation Maven / Gradle / Ivy
/************************************************************************
* Copyright (c) Crater Dog Technologies(TM). All Rights Reserved. *
************************************************************************
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. *
* *
* This code is free software; you can redistribute it and/or modify it *
* under the terms of The MIT License (MIT), as published by the Open *
* Source Initiative. (See http://opensource.org/licenses/MIT) *
************************************************************************/
package bali.notary;
import bali.language.BaliComponent;
import java.net.URI;
/**
* This class defines a digital citation that references a document in a way
* that ensures the document cannot be modified without detection.
*
* @author Derk Norton
*/
public final class Citation extends BaliComponent {
/**
* A reference to the cited document.
*/
public URI citedDocument;
/**
* The hashing algorithm used for this citation.
*/
public String hashingAlgorithm;
/**
* A cryptographic hash of the UTF-8 byte encoding for the document
* being cited. If the document is changed, this hash value will no
* longer be valid.
*/
public byte[] documentHash;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy