A B C D E F G H I K L M N O P R S T U V W

A

ABSTRACT_ATTRIBUTE - Static variable in interface net.cnri.dobj.DOConstants
 
AbstractAuthentication - Class in net.cnri.dobj
Provides a partial implementation of the DOAuthentication interface that helps Interface for objects that can be used to authenticate themselves to the other side of a DOConnection link.
AbstractAuthentication() - Constructor for class net.cnri.dobj.AbstractAuthentication
 
ADD_RELATIONSHIPS_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
ADD_TYPE_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
addEntity(EntityMap.Entity) - Method in class net.cnri.do_api.EntityMap
 
addHeader(String, String) - Method in class net.cnri.dobj.HeaderSet
Adds a header to the header set
addHeader(String, String[]) - Method in class net.cnri.dobj.HeaderSet
Adds a string array header to the header set
addHeader(String, HeaderSet) - Method in class net.cnri.dobj.HeaderSet
Adds a sub-header-set to the header set
addHeader(String, long) - Method in class net.cnri.dobj.HeaderSet
Adds a header to the header set
addHeader(String, int) - Method in class net.cnri.dobj.HeaderSet
Adds a header to the header set
addHeader(String, boolean) - Method in class net.cnri.dobj.HeaderSet
Adds a header to the header set
addHeader(String, byte[]) - Method in class net.cnri.dobj.HeaderSet
Adds a header to the header set
ADDRESS_BOOK_ELEMENT_ID - Static variable in class net.cnri.do_api.EntityMap
 
ANONYMOUS_ID - Static variable in interface net.cnri.dobj.DOConstants
 
append(InputStream) - Method in class net.cnri.do_api.DataElement
Appends the bytes from the given InputStream to the data element, returning the total number of bytes written.
appendDataElement(String, InputStream) - Method in interface net.cnri.dobj.StorageProxy
Appends data from the given InputStream to the data element for the given object ID.
APPLICATION_ERROR - Static variable in exception net.cnri.dobj.DOException
 
AUDIT_GET_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
AUDIT_QUERY_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
authenticateCaller() - Method in interface net.cnri.dobj.DOOperationContext
Requests verification of the callers identity.
authenticateClient(String, String) - Method in class net.cnri.dobj.DOServerConnection
This method is called by the digital object server to verify the identity of the client using the public key assigned to the ID of the client..
authenticateCredential(String) - Method in interface net.cnri.dobj.DOOperationContext
Verify that this client has been granted a credential by the identified entity.
authenticateCredential(String) - Method in class net.cnri.dobj.DOServerConnection
Verify that this client has been granted a credential by the identified entity.
Authorizer - Interface in net.cnri.dobj
Objects implementing the Authorizor interface can be used by a server to decide who can perform what operations on which objects.

B

buildKeyGrant(String, SecretKey) - Static method in class net.cnri.do_api.DOKeyRing
This will encrypt the given key using the recipient's public key and encode it into a block of text that can be emailed to an individual.

C

canHandleOperation(DOOperationContext) - Method in interface net.cnri.dobj.DOOperation
Returns true iff this object can perform the given operation on behalf of the caller on the given object.
channelCreated(StreamPair) - Method in interface net.cnri.dobj.DOConnectionListener
This is called when a new channel has been created on the server.
CHECK_AUTHORIZATION_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
CHECK_DELEGATE_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
checkAuthorization(String, String[], String, HeaderSet) - Method in class net.cnri.do_api.DigitalObject
Determine whether a user in some groups is authorized to perform an operation with certain parameters on this object.
checkAuthorization(String, String, String) - Method in interface net.cnri.dobj.Authorizer
 
checkClientTrusted(X509Certificate[], String) - Method in class net.cnri.dobj.DOSSLTrustManager
 
checkServerTrusted(X509Certificate[], String) - Method in class net.cnri.dobj.DOSSLTrustManager
 
chooseClientAlias(String[], Principal[], Socket) - Method in class net.cnri.dobj.DOSSLKeyManager
 
chooseServerAlias(String, Principal[], Socket) - Method in class net.cnri.dobj.DOSSLKeyManager
 
CIPHER_ALG_ATTRIBUTE - Static variable in class net.cnri.do_api.DOKeyRing
 
clearTags() - Method in class net.cnri.dobj.DOMetadata
Removes all tags from the metadata
CLIENT_AUTH_TYPE_HSPUBKEY - Static variable in interface net.cnri.dobj.DOConstants
 
CLIENT_AUTH_TYPE_HSSECKEY - Static variable in interface net.cnri.dobj.DOConstants
 
cloneAuthentication() - Method in class net.cnri.dobj.AbstractAuthentication
The following must be implemented by subclasses of AbstractAuthentication in order to provide a copy of themselves for the purposes of authenticating when retrieving their credentials.
cloneAuthentication() - Method in class net.cnri.dobj.PKAuthentication
The following must be implemented by subclasses of AbstractAuthentication in order to provide a copy of themselves for the purposes of authenticating when retrieving their credentials.
cloneAuthentication() - Method in class net.cnri.dobj.ProxiedAuthentication
The following must be implemented by subclasses of AbstractAuthentication in order to provide a copy of themselves for the purposes of authenticating when retrieving their credentials.
cloneAuthentication() - Method in class net.cnri.dobj.SecretKeyAuthentication
The following must be implemented by subclasses of AbstractAuthentication in order to provide a copy of themselves for the purposes of authenticating when retrieving their credentials.
close() - Method in class net.cnri.dobj.DOConnection
 
close() - Method in class net.cnri.dobj.StreamPair
 
closeAllConnections() - Method in class net.cnri.dobj.DOClient
 
connect(String) - Method in class net.cnri.dobj.DOClientConnection
Connect directly to one of the servers in the service identified by the given identifier.
connect(DOServiceInfo) - Method in class net.cnri.dobj.DOClientConnection
Connect directly to one of the servers in the service
connect(DOServerInfo) - Method in class net.cnri.dobj.DOClientConnection
Connect directly to the given server.
ConnectionEncryption - Class in net.cnri.dobj
Objects of class ConnectionEncryption are capable of encrypting and decrypting traffic on the connection.
ConnectionEncryption() - Constructor for class net.cnri.dobj.ConnectionEncryption
 
constructInstance(DOConnection, HeaderSet, HeaderSet) - Static method in class net.cnri.dobj.ConnectionEncryption
Constructs a ConnectionEncryption instance that conforms to the given parameters.
CONTENT_ELEMENT_ID - Static variable in interface net.cnri.dobj.DOConstants
 
CONTROL_CHANNEL_ID - Static variable in class net.cnri.dobj.DOConnection
 
copyInto(HeaderSet) - Method in class net.cnri.dobj.HeaderSet
 
copyObjectFrom(Repository, String) - Method in class net.cnri.do_api.Repository
Create a new object on this repository with the given identifier and return the ID of the new object.
CREATE_OBJ_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
createDigitalObject(String) - Method in class net.cnri.do_api.Repository
Create a new digital object in this repository and return an interface to that object.
createObject(String) - Method in interface net.cnri.dobj.StorageProxy
Creates a new digital object with the given ID, if one does not already exist.
createObject(String, String) - Method in interface net.cnri.dobj.StorageProxy
Creates a new digital object with the given ID, if one does not already exist.
CREATOR_ATTRIBUTE - Static variable in interface net.cnri.dobj.DOConstants
 
CRYPTO_ERROR - Static variable in exception net.cnri.dobj.DOException
 

D

DataElement - Class in net.cnri.do_api
This is a high level interface to a data element for a digital object.
DATE_CREATED_ATTRIBUTE - Static variable in interface net.cnri.dobj.DOConstants
 
DATE_FORMAT_MDYHMS - Static variable in interface net.cnri.dobj.DOConstants
 
DATE_MODIFIED_ATTRIBUTE - Static variable in interface net.cnri.dobj.DOConstants
 
DEBUG - Variable in class net.cnri.dobj.DOClient
 
DEBUG - Variable in class net.cnri.dobj.DOConnection
 
DEBUG_BLOCKING - Variable in class net.cnri.dobj.DOConnection
 
DEBUG_BYTES - Variable in class net.cnri.dobj.DOConnection
 
DEBUG_CONTROL - Variable in class net.cnri.dobj.DOConnection
 
decodeHexByte(char, char) - Static method in class net.cnri.dobj.HeaderSet
 
decodeUTF8(byte[], int, int) - Static method in class net.cnri.dobj.DOConnection
Decode a UTF8 byte array into a String
decodeUTF8(byte[]) - Static method in class net.cnri.dobj.DOConnection
Decode a UTF8 byte array into a String
decryptDataElement(DataElement) - Method in class net.cnri.do_api.DOKeyRing
If the given data element is encrypted, check our keychain for a key that will decrypt it and use that key to return an InputStream from which the unencrypted data element bytes can be returned.
decryptDataElementUsingKey(int, String, String, DataElement) - Method in class net.cnri.do_api.DOKeyRing
 
DEFAULT_CLIENT_CERT_EXPIRATION_DAYS - Static variable in interface net.cnri.dobj.DOConstants
 
DEFAULT_DEBUG - Static variable in class net.cnri.dobj.DOConnection
 
DEFAULT_DEBUG_BLOCKING - Static variable in class net.cnri.dobj.DOConnection
 
DEFAULT_DEBUG_BYTES - Static variable in class net.cnri.dobj.DOConnection
 
DEFAULT_DEBUG_CONTROL - Static variable in class net.cnri.dobj.DOConnection
 
DEFAULT_READ_BUFFER_SIZE - Static variable in class net.cnri.dobj.DOConnection
 
DEFAULT_WRITE_BUFFER_SIZE - Static variable in class net.cnri.dobj.DOConnection
 
DEL_ATTRIBUTES_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
DELETE_DATA_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
DELETE_OBJ_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
deleteAttribute(String) - Method in class net.cnri.do_api.DataElement
Delete the given attributeName for this object.
deleteAttribute(String) - Method in class net.cnri.do_api.DigitalObject
Delete the given attributeName for this object.
deleteAttributes(String[]) - Method in class net.cnri.do_api.DataElement
Atomically delete more than one attribute
deleteAttributes(String[]) - Method in class net.cnri.do_api.DigitalObject
Atomically delete more than one attribute
deleteAttributes(String[]) - Method in interface net.cnri.dobj.StorageProxy
Remove the attributes with the given keys from the object.
deleteDataElement(String) - Method in class net.cnri.do_api.DigitalObject
 
deleteDataElement(String) - Method in interface net.cnri.dobj.StorageProxy
Deletes the specified data element from the current object.
deleteDigitalObject(String) - Method in class net.cnri.do_api.Repository
Deletes a specified digital object from the repository
deleteElementAttributes(String, String[]) - Method in interface net.cnri.dobj.StorageProxy
Remove the attributes with the given keys from the element.
deleteObject() - Method in class net.cnri.do_api.DigitalObject
Deletes this digital object
deleteObject() - Method in interface net.cnri.dobj.StorageProxy
Deletes the current object object along with all data elements or files that are associated with it.
DESEncryption - Class in net.cnri.dobj
DESEncryption objects are capable of encrypting/decrypting data based on a secret key.
DESEncryption(DOConnection) - Constructor for class net.cnri.dobj.DESEncryption
 
deserializeObject(String, InputStream) - Method in interface net.cnri.dobj.StorageProxy
Reset the object's state and re-initialize the object with the data in the given InputStream in the given format.
DigitalObject - Class in net.cnri.do_api
This is a high level interface to an arbitrary digital object.
DOAuthentication - Interface in net.cnri.dobj
Interface for objects that can be used to authenticate themselves to the other side of a DOConnection link.
DOClient - Class in net.cnri.dobj
This class describes an object that provides communication capabilities with the entire digital object system.
DOClient(String, DOServerConnection) - Constructor for class net.cnri.dobj.DOClient
 
DOClient(DOAuthentication) - Constructor for class net.cnri.dobj.DOClient
Create a DOClient instance set up to authenticate with the given information
DOClientConnection - Class in net.cnri.dobj
This class provides the interface for client software to communicate using the DO protocol with a specific digital object server.
DOClientConnection(DOAuthentication) - Constructor for class net.cnri.dobj.DOClientConnection
Instantiate a new DOClientConnection with the specified identity and authentication information.
DOConnection - Class in net.cnri.dobj
This class encapsulates the connection to a digital object server.
DOConnection(DOAuthentication) - Constructor for class net.cnri.dobj.DOConnection
 
DOConnectionListener - Interface in net.cnri.dobj
DOConnectionListener specifies an interface for objects that can receive notification of events on a DO connection, such as a new channel being opened.
DOConstants - Interface in net.cnri.dobj
Constants for use with the Digital Object Registry and associated systems.
DOES_OBJ_EXIST_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
doesDataElementExist(String) - Method in interface net.cnri.dobj.StorageProxy
Returns true if the given data element exists
doesObjectExist() - Method in interface net.cnri.dobj.StorageProxy
Returns true if the given digital object exists.
DOException - Exception in net.cnri.dobj
Exception used in most digital object components.
DOException(int, String) - Constructor for exception net.cnri.dobj.DOException
 
DOException(int, String, Throwable) - Constructor for exception net.cnri.dobj.DOException
 
DOKeyRing - Class in net.cnri.do_api
This is an interface to a set of encrypted keys that can be used to open encrypted documents in digital objects.
DOKeyRing(PrivateKey, DigitalObject) - Constructor for class net.cnri.do_api.DOKeyRing
 
DOMetadata - Class in net.cnri.dobj
Storage class for metadata about a digital object.
DOMetadata() - Constructor for class net.cnri.dobj.DOMetadata
 
DOOperation - Interface in net.cnri.dobj
Objects implementing the DOOperation interface can be used to perform an operation on a digital object in a repository.
DOOperationContext - Interface in net.cnri.dobj
Objects implementing DOOperationContext provide access to the "system" so that operators can perform their jobs.
DOServerConnection - Class in net.cnri.dobj
This class provides the interface for server software to communicate using the DO protocol with a digital object client.
DOServerConnection(DOAuthentication, Socket) - Constructor for class net.cnri.dobj.DOServerConnection
 
DOServerConnection(DOAuthentication, Socket, DOConnectionListener) - Constructor for class net.cnri.dobj.DOServerConnection
Construct a server-side connection handler using the given socket.
DOServerConnection(DOAuthentication, Socket, DOConnectionListener, DelegationClient) - Constructor for class net.cnri.dobj.DOServerConnection
 
DOServerInfo - Class in net.cnri.dobj
 
DOServiceInfo - Class in net.cnri.dobj
 
DOServiceInfo(String) - Constructor for class net.cnri.dobj.DOServiceInfo
 
DOServiceInfo(String, DOServerInfo[]) - Constructor for class net.cnri.dobj.DOServiceInfo
 
DOServiceInfo(String, String, int, byte[]) - Constructor for class net.cnri.dobj.DOServiceInfo
Convenience constructor for a service with a single server
DOSSLKeyManager - Class in net.cnri.dobj
This object is used to provide a private key for authentication to the other side of a secure socket connection.
DOSSLKeyManager(PKAuthentication) - Constructor for class net.cnri.dobj.DOSSLKeyManager
 
DOSSLKeyManager(PKAuthentication, PublicKey) - Constructor for class net.cnri.dobj.DOSSLKeyManager
 
DOSSLTrustManager - Class in net.cnri.dobj
This object is used to determine whether the other side of a secure socket connection is authenticated or not based on their Handle and Digital Object authentication.
DOSSLTrustManager() - Constructor for class net.cnri.dobj.DOSSLTrustManager
 

E

ELEMENT_ATTS_MSGTYPE - Static variable in interface net.cnri.dobj.DOConstants
 
ELEMENT_KEY_FORMAT - Static variable in class net.cnri.do_api.DOKeyRing
 
EM_COMMAND_CREATE_DATASTREAM - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_CREATE_DISSEMINATOR - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_CREATE_DO - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_DELETE_ATTACHMENTS - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_DELETE_DATASTREAM - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_DELETE_DISSEMINATOR - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_DELETE_DO - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_GET_DATASTREAM_BYTES - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_GET_DATASTREAM_KEY_METADATA - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_GET_DISSEMINATION - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_GET_DISSEMINATOR_METADATA - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_GET_EXECUTABLE - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_GET_KEY_METADATA - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_GET_READ_REQUEST - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_GET_SERVLET - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_GET_TYPE_SIGNATURE - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_GET_VERSION - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_LIST_ATTACHMENTS - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_LIST_DATASTREAMS - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_LIST_DISSEMINATORS - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_LIST_DO - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_LIST_DO_POLICIES - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_SET_ATTACHMENTS - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_SET_DATASTREAM_BYTES - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_SET_DO_POLICIES - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_SET_EXECUTABLE - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_SET_READ_REQUEST - Static variable in interface net.cnri.dobj.DOConstants
 
EM_COMMAND_VERIFY_DO - Static variable in interface net.cnri.dobj.DOConstants
 
encodeUTF8(String) - Static method in class net.cnri.dobj.DOConnection
Encode a String into a UTF8 byte array
ENTITY_LIST - Static variable in class net.cnri.do_api.EntityMap
 
EntityMap - Class in net.cnri.do_api
An EntityMap stores a mapping from identifiers to local, human readable names.
EntityMap() - Constructor for class net.cnri.do_api.EntityMap
 
EntityMap.Entity - Class in net.cnri.do_api
 
EntityMap.Entity() - Constructor for class net.cnri.do_api.EntityMap.Entity
 
ERROR_RESPONSE_CODE - Static variable in class net.cnri.dobj.DOConnection
 

F

FILE_NAME_ATTRIBUTE - Static variable in interface net.cnri.dobj.DOConstants
 
FOLDER_ATTRIBUTE - Static variable in interface net.cnri.dobj.DOConstants
 

G

generateEncryptionKey() - Method in class net.cnri.do_api.DOKeyRing
Create and return a SecretKey suitable for object encryption
GenericEncryption - Class in net.cnri.dobj
GenericEncryption objects are capable of encrypting/decrypting data based on a secret key.
GenericEncryption(DOConnection) - Constructor for class net.cnri.dobj.GenericEncryption
 
get(int) - Method in class net.cnri.dobj.HeaderSet
 
GET_ATTRIBUTES_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
GET_CREDENTIALS_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
GET_DATA_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
GET_REPO_TXNS_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
GET_SERIALIZED_FORM_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
getAcceptedIssuers() - Method in class net.cnri.dobj.DOSSLTrustManager
 
getAnonymousAuth() - Static method in class net.cnri.dobj.AbstractAuthentication
 
getAttribute(String, String) - Method in class net.cnri.do_api.DataElement
Associates the given attributeValue with the given attributeName for this object.
getAttribute(String, String) - Method in class net.cnri.do_api.DigitalObject
Associates the given attributeValue with the given attributeName for this object.
getAttribute(String, String) - Method in class net.cnri.do_api.EntityMap.Entity
Gets the value that is associated with the given attribute within this entity or defaultVal if there is no value associated with the given attribute.
getAttributes() - Method in class net.cnri.do_api.DataElement
Return all attributes
getAttributes() - Method in class net.cnri.do_api.DigitalObject
Return all attributes
getAttributes(HeaderSet) - Method in interface net.cnri.dobj.StorageProxy
Get all of the key-value attributes that are associated with the object.
getAtts() - Method in class net.cnri.do_api.SearchResult.Element
 
getAtts() - Method in class net.cnri.do_api.SearchResult
 
getAuthID() - Method in class net.cnri.dobj.DOConnection
Return the identifier that we are using to identify ourself
getBooleanHeader(String, boolean) - Method in class net.cnri.dobj.HeaderSet
Returns the boolean value for the last header with the given name.
getCallerID() - Method in interface net.cnri.dobj.DOOperationContext
Returns the identity of the caller.
getCertificateChain(String) - Method in class net.cnri.dobj.DOSSLKeyManager
 
getClientAliases(String, Principal[]) - Method in class net.cnri.dobj.DOSSLKeyManager
 
getConnection() - Method in class net.cnri.do_api.Repository
Internal method to return the underlying connection that is used to communicate with this Repository.
getConnectionMapping(Object) - Method in interface net.cnri.dobj.DOOperationContext
Returns the object from the connection-level information table that had previously been used as the mappingData parameter for a call to setConnectionMapping with the given mappingKey on the same connection.
getConnectionMapping(Object) - Method in class net.cnri.dobj.DOServerConnection
Returns the object from the connection-level information table that had previously been used as the mappingData parameter for a call to setConnectionMapping with the given mappingKey.
getConnectionToRepository(String) - Method in class net.cnri.dobj.DOClient
Return a connection to the given repository.
getCredentialIDs() - Method in interface net.cnri.dobj.DOOperationContext
Returns a list of unverified IDs that the client claims as credentials.
getCredentialIDs() - Method in class net.cnri.dobj.DOServerConnection
Returns a list of unverified IDs that the client claims as credentials.
getCredentials() - Method in class net.cnri.dobj.AbstractAuthentication
Retrieve the credentials from this user's digital object so that they can be presented to any servers during authentication.
getCredentials() - Method in interface net.cnri.dobj.DOAuthentication
Returns any certificates that supplement this entities authentication
getCredentials() - Method in class net.cnri.dobj.ProxiedAuthentication
Returns an empty list since the proxied authentication returns a list of credentials in the signChallenge() method.
getCredentials() - Method in class net.cnri.dobj.SecretKeyAuthentication
Retrieve the credentials from this user's digital object so that they can be presented to any servers during authentication.
getDataElement(String) - Method in class net.cnri.do_api.DigitalObject
Return a reference to the given data element within this object
getDataElement(String) - Method in interface net.cnri.dobj.StorageProxy
Returns a stream for reading the identified data element for this object.
getDataElementID() - Method in class net.cnri.do_api.DataElement
Returns the data element's identifier within the object
getDateCreated() - Method in class net.cnri.do_api.DataElement
Return the date that this object was created
getDateCreated() - Method in class net.cnri.do_api.DigitalObject
Return the date that this object was created
getDateCreated() - Method in class net.cnri.dobj.DOMetadata
Returns the date that the DO was most recently created.
getDateDeleted() - Method in class net.cnri.dobj.DOMetadata
Returns the date that the DO was most recently deleted.
getDateLastModified() - Method in class net.cnri.do_api.DataElement
Return the date that this object was last modified
getDateLastModified() - Method in class net.cnri.do_api.DigitalObject
Return the date that this object was last modified
getDigitalObject() - Method in class net.cnri.do_api.DataElement
Return the DigitalObject of which this element is a part
getDigitalObject(String) - Method in class net.cnri.do_api.Repository
If the specified digital object exists in the repository, this method will return an instance of the DigitalObject class corresponding to that object.
getElement(String) - Method in class net.cnri.do_api.SearchResult
 
getElementAttributes(String, HeaderSet) - Method in interface net.cnri.dobj.StorageProxy
Get all of the key-value attributes that are associated with the given element in the object.
getElementID() - Method in class net.cnri.do_api.SearchResult.Element
 
getElements() - Method in class net.cnri.do_api.SearchResult
 
getEntities() - Method in class net.cnri.do_api.EntityMap
Return a java.util.List containing the EntityMap.Entity objects in the list.
getEntity(int) - Method in class net.cnri.do_api.EntityMap
Return the address book entity at the given index
getEntityForID(String) - Method in class net.cnri.do_api.EntityMap
Return the entity with the given ID or null if no entity has that ID.
getEntityLabel(String) - Method in class net.cnri.do_api.EntityMap
Return a label that can be used to describe the entity having the given ID.
getEntityName(String, String) - Method in class net.cnri.do_api.EntityMap
Return the name that is associated with the given ID.
getErrorCode() - Method in exception net.cnri.dobj.DOException
 
getFields() - Method in class net.cnri.do_api.SearchResult.Element
 
getFields() - Method in class net.cnri.do_api.SearchResult
 
getFileForDataElement(String) - Method in interface net.cnri.dobj.StorageProxy
Returns the File in which the given data element is stored, if any.
getFriendlyMessageForException(Exception) - Static method in exception net.cnri.dobj.DOException
 
getHeaderSubset(String) - Method in class net.cnri.dobj.HeaderSet
Returns a new HeaderSet with the key-value pairs for which the keys have the given prefix.
getHexByteArrayHeader(String, byte[]) - Method in class net.cnri.dobj.HeaderSet
Returns the byte array value for the last header with the given name.
getHostAddress() - Method in class net.cnri.dobj.DOServerInfo
 
getID() - Method in class net.cnri.do_api.DigitalObject
 
getID() - Method in class net.cnri.do_api.EntityMap.Entity
Return the identifier (handle) for this entity
getID() - Method in interface net.cnri.dobj.DOAuthentication
Returns the identifier of the calling code.
getID() - Method in class net.cnri.dobj.PKAuthentication
Returns the identifier representing the entity that is supposed to be authenticated by this object.
getID() - Method in class net.cnri.dobj.ProxiedAuthentication
Returns the identifier of the entity whose authentication is being proxied
getID() - Method in class net.cnri.dobj.SecretKeyAuthentication
Returns the identifier representing the entity that is supposed to be authenticated by this object.
getInputStream() - Method in class net.cnri.dobj.StreamPair
 
getIntHeader(String, int) - Method in class net.cnri.dobj.HeaderSet
Returns the integer value for the last header with the given name.
getIterator() - Method in class net.cnri.do_api.Repository.QueryResults
 
getLongHeader(String, long) - Method in class net.cnri.dobj.HeaderSet
Returns the long (64 bit integer) value for the last header with the given name.
getMessage() - Method in exception net.cnri.dobj.DOException
 
getMessageType() - Method in class net.cnri.dobj.HeaderSet
Get the message type for this HeaderSet.
getMPAtts() - Method in class net.cnri.do_api.SearchResult.Element
 
getName() - Method in class net.cnri.dobj.HeaderItem
 
getNumEntities() - Method in class net.cnri.do_api.EntityMap
Get the number of known entities in the mapping/list
getObjectAccessor(String) - Method in interface net.cnri.dobj.StorageProxy
Returns a StorageProxy for a different object in this Repository.
getObjectID() - Method in class net.cnri.do_api.DataElement
 
getObjectID() - Method in class net.cnri.do_api.DigitalObject
Returns the identifier for this digital object
getObjectID() - Method in class net.cnri.do_api.SearchResult
 
getObjectID() - Method in class net.cnri.dobj.DOMetadata
Returns the identifier for the object to which this metadata applies.
getObjectID() - Method in interface net.cnri.dobj.StorageProxy
Get the object identifier of the given object.
getOperationHeaders() - Method in interface net.cnri.dobj.DOOperationContext
Returns the set of headers that were included with the operation request
getOperationID() - Method in interface net.cnri.dobj.DOOperationContext
Returns the operation that the caller attempted to invoke.
getOutputStream() - Method in class net.cnri.dobj.StreamPair
 
getPAtts() - Method in class net.cnri.do_api.SearchResult.Element
 
getPort() - Method in class net.cnri.dobj.DOServerInfo
 
getPrivateKey(String) - Method in class net.cnri.dobj.DOSSLKeyManager
 
getProtocolMajorVersion() - Method in class net.cnri.dobj.DOConnection
Return the major protocol version of this connection if the connection handshake has already taken place.
getProtocolMinorVersion() - Method in class net.cnri.dobj.DOConnection
Return the minor protocol version of this connection if the connection handshake has already taken place.
getProtocolTimeout() - Method in class net.cnri.dobj.DOConnection
 
getPublicKey() - Method in class net.cnri.dobj.DOServerInfo
 
getRandom() - Static method in class net.cnri.dobj.ConnectionEncryption
Return a singleton SecureRandom object.
getRepoID() - Method in class net.cnri.do_api.SearchResult
 
getRepoID() - Method in interface net.cnri.dobj.StorageProxy
Get the repository identifier of the repository for the given object.
getRepository() - Method in class net.cnri.do_api.DataElement
 
getRepository() - Method in class net.cnri.do_api.DigitalObject
Return the repository server through which this object is accessed
getResolver() - Static method in class net.cnri.dobj.DOClient
 
getResolver() - Static method in class net.cnri.dobj.DOConnection
Returns a singleton Resolver object.
getScore() - Method in class net.cnri.do_api.SearchResult
 
getSecureServerSocketFactory(PKAuthentication, PublicKey) - Static method in class net.cnri.dobj.DOServerConnection
This method returns an SSLServerSocketFactory that can be used to create SSLSockets that authenticate their side of the connection using handle public key authentication.
getServer(int) - Method in class net.cnri.dobj.DOServiceInfo
 
getServerAliases(String, Principal[]) - Method in class net.cnri.dobj.DOSSLKeyManager
 
getServerCount() - Method in class net.cnri.dobj.DOServiceInfo
 
getServerID() - Method in interface net.cnri.dobj.DOOperationContext
Returns the identity of this repository service
getServerID() - Method in class net.cnri.dobj.DOServerInfo
Returns a string that differentiates this server from the others in the same service.
getServerInfo() - Method in class net.cnri.dobj.DOClientConnection
If connected to a server, return the information for the server to which we are connected
getService() - Method in class net.cnri.dobj.DOServerInfo
Return the service that contains this server.
getServiceID() - Method in class net.cnri.dobj.DOClientConnection
If connected to a service by identifier, return that identifier
getServiceID() - Method in class net.cnri.dobj.DOServerInfo
 
getServiceID() - Method in class net.cnri.dobj.DOServiceInfo
Return the identifier that was resolved to get this service
getServiceInfo() - Method in class net.cnri.dobj.DOClientConnection
If connected to ta service, return the service information
getSigAlgForKeyAlg(String) - Static method in class net.cnri.dobj.PKAuthentication
 
getSize() - Method in class net.cnri.do_api.DataElement
Gets the size in bytes of the data element, not including attributes
getSize() - Method in class net.cnri.do_api.DigitalObject
Gets the size in bytes of the data element, not including attributes
getSocket() - Method in class net.cnri.dobj.DOConnection
Returns the socket over which the connection is made
getStorage() - Method in interface net.cnri.dobj.DOOperationContext
Returns on object that allows operators to access the storage system for the current object.
getStringArrayHeader(String, String[]) - Method in class net.cnri.dobj.HeaderSet
Returns the String array value for the last header with the given name.
getStringHeader(String, String) - Method in class net.cnri.dobj.HeaderSet
Returns the String value for the last header with the given name.
getTag(String, String) - Method in class net.cnri.dobj.DOMetadata
Returns the value of the given tag.
getTagNames() - Method in class net.cnri.dobj.DOMetadata
Returns an iterator containing the names of all tags associated with this object.
getTargetObjectID() - Method in interface net.cnri.dobj.DOOperationContext
Returns the object on which the caller is invoke the operation.
getText() - Method in class net.cnri.do_api.SearchResult.Element
 
getTotalMatches() - Method in class net.cnri.do_api.Repository.QueryResults
 
getValue() - Method in class net.cnri.dobj.HeaderItem
 
GRANT_KEY_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
GRANTED_KEY_PREFIX - Static variable in class net.cnri.do_api.DOKeyRing
 
grantKeyTo(DigitalObject, SecretKey) - Static method in class net.cnri.do_api.DOKeyRing
Encrypt and add the given secret key, which was used to encrypt an object, to the given recipient's keychain.

H

HAS_TYPE_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
hasHeader(String) - Method in class net.cnri.dobj.HeaderSet
Returns true iff this HeaderSet contains a header with the given name.
hasID(String) - Method in class net.cnri.do_api.EntityMap.Entity
Returns true if this entity has the given ID
HeaderItem - Class in net.cnri.dobj
 
HeaderSet - Class in net.cnri.dobj
HeaderSet objects manage, parse, and format a set of key-value pairs that are used with DOConnection messages.
HeaderSet(String) - Constructor for class net.cnri.dobj.HeaderSet
Construct a HeaderSet with the given message type
HeaderSet() - Constructor for class net.cnri.dobj.HeaderSet
Construct a HeaderSet with the given message type
HeaderSet(HeaderSet) - Constructor for class net.cnri.dobj.HeaderSet
Copy constructor

I

ID_ATTRIBUTE - Static variable in class net.cnri.do_api.EntityMap
 
initialize() - Method in class net.cnri.dobj.PKAuthentication
 
initParameters(HeaderSet, HeaderSet) - Method in class net.cnri.dobj.ConnectionEncryption
Set up the encryption mechanism and put the parameters into the given HeaderSet so that they can be communicated to the other side.
initParameters(HeaderSet, HeaderSet) - Method in class net.cnri.dobj.DESEncryption
Set up the encryption mechanism and put the parameters into the given HeaderSet so that they can be communicated to the other side.
initParameters(HeaderSet, HeaderSet) - Method in class net.cnri.dobj.GenericEncryption
Set up the encryption mechanism and put the parameters into the given HeaderSet so that they can be communicated to the other side.
INJECT_KNOWBOT_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
INTERNAL_ERROR - Static variable in exception net.cnri.dobj.DOException
 
IS_PART_OF_ATTRIBUTE - Static variable in interface net.cnri.dobj.DOConstants
 
isEncrypted() - Method in class net.cnri.dobj.DOConnection
Returns true iff this connection is encrypted in some way.
isOpen() - Method in class net.cnri.dobj.DOConnection
Returns true iff the connection is still open
iterator() - Method in class net.cnri.dobj.HeaderSet
Returns an iterator that returns each HeaderItem

K

KEY_ALG_ATTRIBUTE - Static variable in class net.cnri.do_api.DOKeyRing
 
KEY_ID_ATTRIBUTE - Static variable in class net.cnri.do_api.DOKeyRing
 
KEYRING_ELEMENT_ID - Static variable in class net.cnri.do_api.DOKeyRing
 

L

LANGUAGE_ATTRIBUTE - Static variable in interface net.cnri.dobj.DOConstants
 
LIST_DATA_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
LIST_DELEGATORS_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
LIST_OBJECTS_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
LIST_OPERATIONS_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
LIST_TYPES_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
listAttributes() - Method in class net.cnri.do_api.DataElement
Return the list of attribute names for this object
listAttributes() - Method in class net.cnri.do_api.DigitalObject
Return the list of attribute names for this object
listDataElements() - Method in class net.cnri.do_api.DigitalObject
List the elements in this digital object
listDataElements() - Method in interface net.cnri.dobj.StorageProxy
Returns a list of the data elements associated with the current object.
listObjects() - Method in class net.cnri.do_api.Repository
Return an iterator of object IDs that are contained in this repository.
listObjects() - Method in interface net.cnri.dobj.StorageProxy
Returns an Enumeration of all of the objects in the repository.
listOperations(String, String) - Method in class net.cnri.dobj.DOClient
List the operations that can be performed on the given object at the specified repository.
listOperations(DOOperationContext) - Method in interface net.cnri.dobj.DOOperation
Returns a list of operations that this operator can perform on the object identified by the DOOperationContext parameter.
loadFromObject(DigitalObject) - Method in class net.cnri.do_api.EntityMap
Load the entity map from the given DigitalObject
loadKeys() - Method in class net.cnri.do_api.DOKeyRing
Loads the user's keychain from their digital object, consolidating any granted keys into the main keyring
lookupCode(int) - Static method in exception net.cnri.dobj.DOException
 

M

MAX_BYTES_IN_BLOCKING_WINDOW - Static variable in class net.cnri.dobj.DOConnection
 
MIME_TYPE_ATTRIBUTE - Static variable in interface net.cnri.dobj.DOConstants
 
MIN_BYTES_IN_BLOCKING_WINDOW - Static variable in class net.cnri.dobj.DOConnection
 

N

NAME_ATTRIBUTE - Static variable in class net.cnri.do_api.EntityMap
 
net.cnri.do_api - package net.cnri.do_api
This package provides a high level interface for working with digital objects.
net.cnri.dobj - package net.cnri.dobj
 
NETWORK_ERROR - Static variable in exception net.cnri.dobj.DOException
 
NO_SUCH_OBJECT_ERROR - Static variable in exception net.cnri.dobj.DOException
 
NOTES_ATTRIBUTE - Static variable in interface net.cnri.dobj.DOConstants
 

O

OBJECT_ALREADY_EXISTS - Static variable in exception net.cnri.dobj.DOException
 
OBJECT_ATTS_MSGTYPE - Static variable in interface net.cnri.dobj.DOConstants
 
OBJECT_NAME_HDL_TYPE - Static variable in interface net.cnri.dobj.DOConstants
 
OBJECT_SERVER_HDL_TYPE - Static variable in interface net.cnri.dobj.DOConstants
 
OBJECT_SVRINFO_HDL_TYPE - Static variable in interface net.cnri.dobj.DOConstants
 
objectExists() - Method in class net.cnri.dobj.DOMetadata
Returns true if the object exists
ofHeaderSet(HeaderSet) - Static method in class net.cnri.do_api.SearchResult
 
OPERATION_NOT_AVAILABLE - Static variable in exception net.cnri.dobj.DOException
 
OWNER_ATTRIBUTE - Static variable in interface net.cnri.dobj.DOConstants
 

P

PARAM_ATTRIBUTES - Static variable in interface net.cnri.dobj.DOConstants
 
PARAM_ELEMENT_ID - Static variable in interface net.cnri.dobj.DOConstants
 
performOperation(String, HeaderSet) - Method in class net.cnri.do_api.DigitalObject
Invoke a low-level operation on this object, returning the input and output streams for the operation in a StreamPair.
performOperation(String, String, HeaderSet) - Method in class net.cnri.do_api.Repository
Invoke a low-level operation on the given object, returning the input and output streams for the operation in a StreamPair.
performOperation(String, String, HeaderSet) - Method in class net.cnri.dobj.DOClient
Performs the specified operation on the object identified by "objectID" with the given input.
performOperation(String, String, String, HeaderSet) - Method in class net.cnri.dobj.DOClient
 
performOperation(String, String) - Method in class net.cnri.dobj.DOClientConnection
Submit a new operation on a new channel and return an InputStream from which the results of the operation can be read.
performOperation(String, String, HeaderSet) - Method in class net.cnri.dobj.DOClientConnection
Submit a new operation on a new channel and return an InputStream from which the results of the operation can be read.
performOperation(DOOperationContext, InputStream, OutputStream) - Method in interface net.cnri.dobj.DOOperation
Performs the given operation (which this object has advertised that it can handle) which consists of reading input (if any is expected) from the given InputStream and writing the output of the operation (if any) to the OutputStream.
performOperation(String, String, String, HeaderSet, InputStream, OutputStream) - Method in interface net.cnri.dobj.DOOperationContext
Performs the specified operation with the identity of the caller, or as the container repository if the forwarding operations are configured to use the repository's own identity for forwarded operations.
PERMISSION_DENIED_ERROR - Static variable in exception net.cnri.dobj.DOException
 
PKAuthentication - Class in net.cnri.dobj
A PKAuthentication object uses a private key to prove our identity.
PKAuthentication(String, PrivateKey) - Constructor for class net.cnri.dobj.PKAuthentication
Construct an authentication object that uses the given private key to prove that we are the entity identified by myID.
processIncomingChunk(ByteBuffer) - Method in class net.cnri.dobj.ConnectionEncryption
Decrypts the incoming chunk of bytes and puts the result back into the given ByteBuffer for reading.
processIncomingChunk(ByteBuffer) - Method in class net.cnri.dobj.DESEncryption
 
processIncomingChunk(ByteBuffer) - Method in class net.cnri.dobj.GenericEncryption
 
processOutgoingChunk(ByteBuffer) - Method in class net.cnri.dobj.ConnectionEncryption
Processes the outgoing chunk of bytes and returns the processed version.
processOutgoingChunk(ByteBuffer) - Method in class net.cnri.dobj.DESEncryption
Processes the outgoing chunk of bytes and returns the processed version.
processOutgoingChunk(ByteBuffer) - Method in class net.cnri.dobj.GenericEncryption
Processes the outgoing chunk of bytes and returns the processed version.
PROTOCOL_ERROR - Static variable in exception net.cnri.dobj.DOException
 
ProxiedAuthentication - Class in net.cnri.dobj
 
ProxiedAuthentication(String, DOConnection) - Constructor for class net.cnri.dobj.ProxiedAuthentication
 
PUSH_REPO_TXN_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 

R

read() - Method in class net.cnri.do_api.DataElement
Returns an InputStream from which the element's data can be read
readHeaders(InputStream) - Method in class net.cnri.dobj.HeaderSet
This method will populate the set of headers with data from the given InputStream.
readHeadersFromString(String) - Method in class net.cnri.dobj.HeaderSet
This method will populate the set of headers with data from the given encoded String.
readPKAuthenticationFromFile(String, String, String) - Static method in class net.cnri.dobj.PKAuthentication
Convenience method to read a private key from a file, decrypt that key with the given passphrase and return a PKAuthentication object for the given ID.
reconnect(String) - Method in class net.cnri.dobj.DOClientConnection
Connect directly to one of a the servers in the service identified by the given identifier, if we aren't already connected.
reconnect(DOServiceInfo) - Method in class net.cnri.dobj.DOClientConnection
Connect directly to one of a the servers in the service
REFERENCES_ATTRIBUTE - Static variable in interface net.cnri.dobj.DOConstants
 
refresh() - Method in class net.cnri.do_api.DigitalObject
Refresh information about Data Elements or Attributes.
REINDEX_OBJECT_ID - Static variable in interface net.cnri.dobj.DOConstants
 
REMOVE_TYPE_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
removeAllHeaders() - Method in class net.cnri.dobj.HeaderSet
Removes all headers from the HeaderSet
removeEntity(EntityMap.Entity) - Method in class net.cnri.do_api.EntityMap
Remove the given entity from the list
removeHeadersWithKey(String) - Method in class net.cnri.dobj.HeaderSet
Removes all headers with the given key
REPLICATION_ERROR - Static variable in exception net.cnri.dobj.DOException
 
REPLICATION_ITEM_OUT_OF_DATE - Static variable in exception net.cnri.dobj.DOException
 
REPO_RIGHTS_ELEMENT_ID - Static variable in interface net.cnri.dobj.DOConstants
 
Repository - Class in net.cnri.do_api
This object provides high level access to a digital object repository.
Repository(DOAuthentication, String) - Constructor for class net.cnri.do_api.Repository
Constructor for a repository that interfaces an object that provides an interface to the with the given authentication information
Repository(DOAuthentication, DOServiceInfo) - Constructor for class net.cnri.do_api.Repository
Constructor for a repository that interfaces an object that provides an interface to the with the given authentication information
Repository(String, DOClientConnection) - Constructor for class net.cnri.do_api.Repository
Construct a Repository instance which can be used to talk over existing connections to DO servers.
Repository.CloseableIterator<T> - Interface in net.cnri.do_api
 
Repository.QueryResults - Class in net.cnri.do_api
 
Repository.QueryResults(Repository.CloseableIterator<HeaderSet>, int) - Constructor for class net.cnri.do_api.Repository.QueryResults
 
REPOSITORY_AUTHENTICATION_ERROR - Static variable in exception net.cnri.dobj.DOException
 
resetFields() - Method in class net.cnri.dobj.DOMetadata
Resets the contents of the metadata
resolvePublicKeys(String) - Method in class net.cnri.dobj.DOServerConnection
Securely resolve a public key for the given handle
resolveRepositoryID(String) - Static method in class net.cnri.dobj.DOClient
Resolves the given object identifier and returns the repository that hosts the object.
RFC_2539_WELL_KNOWN_GROUP_2 - Static variable in class net.cnri.dobj.DOClientConnection
Pre-computed parameters for use with setEncryptionParameters on slow clients (e.g.
RIGHTS_DELEGATION_OBJECT_HDL_TYPE - Static variable in interface net.cnri.dobj.DOConstants
 
RIGHTS_ELEMENT_ID - Static variable in interface net.cnri.dobj.DOConstants
 

S

saveToObject(DigitalObject) - Method in class net.cnri.do_api.EntityMap
 
search(String) - Method in class net.cnri.do_api.Repository
 
search(String, List<String>, List<String>, String, int, int) - Method in class net.cnri.do_api.Repository
 
SEARCH_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
SearchResult - Class in net.cnri.do_api
 
SearchResult() - Constructor for class net.cnri.do_api.SearchResult
 
SearchResult.Element - Class in net.cnri.do_api
 
SearchResult.Element(String) - Constructor for class net.cnri.do_api.SearchResult.Element
 
SecretKeyAuthentication - Class in net.cnri.dobj
A PKAuthentication object uses a secret key to prove our identity.
SecretKeyAuthentication(String, byte[]) - Constructor for class net.cnri.dobj.SecretKeyAuthentication
Construct an authentication object that uses the given private key to prove that we are the entity identified by myID.
SERIALIZED_ENCODING - Static variable in class net.cnri.do_api.Repository
 
serializeObject(String, OutputStream) - Method in interface net.cnri.dobj.StorageProxy
Serialize the entire object using the given format to the given stream
SERVER_ERROR - Static variable in exception net.cnri.dobj.DOException
 
SET_ATTRIBUTES_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
setAtt(String, String) - Method in class net.cnri.do_api.SearchResult.Element
 
setAtt(String, String) - Method in class net.cnri.do_api.SearchResult
 
setAttribute(String, String) - Method in class net.cnri.do_api.DataElement
Associates the given attributeValue with the given attributeName for this object.
setAttribute(String, String) - Method in class net.cnri.do_api.DigitalObject
Associates the given attributeValue with the given attributeName for this object.
setAttribute(String, String) - Method in class net.cnri.do_api.EntityMap.Entity
Sets the value that is associated with the given attribute within this entity
setAttributes(HeaderSet) - Method in class net.cnri.do_api.DataElement
Atomically set more than one attribute
setAttributes(HeaderSet) - Method in class net.cnri.do_api.DigitalObject
Atomically set more than one attribute
setAttributes(HeaderSet) - Method in interface net.cnri.dobj.StorageProxy
Set the given key-value attributes in the object, replacing any existing attributes that have the same keys.
setAutoRetrieveCredentials(boolean) - Method in class net.cnri.dobj.AbstractAuthentication
Sets whether or not this object will automatically retrieve the client's credentials from the client DO when getCredentials() is called.
setConnectionMapping(Object, Object) - Method in interface net.cnri.dobj.DOOperationContext
Inserts an object into the connection-level information table.
setConnectionMapping(Object, Object) - Method in class net.cnri.dobj.DOServerConnection
Inserts an object into the connection-level information table.
setCredentials(Certificate[]) - Method in class net.cnri.dobj.AbstractAuthentication
 
setDateCreated(long) - Method in class net.cnri.dobj.DOMetadata
Stores the date that the DO was most recently created.
setDateDeleted(long) - Method in class net.cnri.dobj.DOMetadata
Stores the date that the DO was most recently deleted.
setDefaultCryptoAlg(String) - Method in class net.cnri.dobj.GenericEncryption
Set the default encryption algorithm, subject to capability negotiation with the other side of the connection.
setDefaultMacAlg(String) - Method in class net.cnri.dobj.GenericEncryption
Set the default MAC algorithm, subject to capability negotiation with the other side of the connection.
setDefaultMode(String) - Method in class net.cnri.dobj.GenericEncryption
Set the default mode, subject to capability negotiation with the other side of the connection.
setDefaultPadding(String) - Method in class net.cnri.dobj.GenericEncryption
Set the default padding, subject to capability negotiation with the other side of the connection.
setElementAttributes(String, HeaderSet) - Method in interface net.cnri.dobj.StorageProxy
Set the given key-value attributes for the given element in the object, replacing any existing attributes that have the same keys.
setElements(Map<String, SearchResult.Element>) - Method in class net.cnri.do_api.SearchResult
 
setEncryptionParameters(DHParameterSpec) - Static method in class net.cnri.dobj.DOClientConnection
Sets the Diffie-Hellman parameters to be used for encryption.
setField(String, String) - Method in class net.cnri.do_api.SearchResult.Element
 
setField(String, String) - Method in class net.cnri.do_api.SearchResult
 
setListener(DOConnectionListener) - Method in class net.cnri.dobj.DOConnection
Sets the listener that will be notified when new channels are opened.
setMessageType(String) - Method in class net.cnri.dobj.HeaderSet
 
setMPAtt(String, String) - Method in class net.cnri.do_api.SearchResult.Element
 
setName(String) - Method in class net.cnri.dobj.StreamPair
 
setObjectID(String) - Method in class net.cnri.do_api.SearchResult
 
setObjectID(String) - Method in class net.cnri.dobj.DOMetadata
Sets the identifier for the object to which this metadata applies.
setParameters(HeaderSet) - Method in class net.cnri.dobj.DESEncryption
Set up the parameters for the encryption/decryption process.
setParameters(HeaderSet) - Method in class net.cnri.dobj.GenericEncryption
Set up the parameters for the encryption/decryption process.
setPAtt(String, String) - Method in class net.cnri.do_api.SearchResult.Element
 
setProtocolTimeout(long) - Method in class net.cnri.dobj.DOConnection
 
setRepoID(String) - Method in class net.cnri.do_api.SearchResult
 
setResolver(Resolver) - Static method in class net.cnri.dobj.DOConnection
Sets the singleton Resolver object
setScore(String) - Method in class net.cnri.do_api.SearchResult
 
setTag(String, String) - Method in class net.cnri.dobj.DOMetadata
Stores the given key-value pair as a tag along with this object.
setText(String) - Method in class net.cnri.do_api.SearchResult.Element
 
setUseEncryption(boolean) - Method in class net.cnri.do_api.Repository
Sets whether or not the connection to this repository will be encrypted.
setUseEncryption(boolean) - Method in class net.cnri.dobj.DOClientConnection
Sets whether or not this connection will be encrypted.
signChallenge(HeaderSet, HeaderSet) - Method in interface net.cnri.dobj.DOAuthentication
Signs the given challenge message and puts the result (including any required parameters) into the given HeaderSet object.
signChallenge(HeaderSet, HeaderSet) - Method in class net.cnri.dobj.PKAuthentication
 
signChallenge(HeaderSet, HeaderSet) - Method in class net.cnri.dobj.ProxiedAuthentication
Signs the given challenge message and puts the result (including any required parameters) into the given HeaderSet object.
signChallenge(HeaderSet, HeaderSet) - Method in class net.cnri.dobj.SecretKeyAuthentication
 
size() - Method in class net.cnri.dobj.HeaderSet
Returns the number of headers
SIZE_ATTRIBUTE - Static variable in interface net.cnri.dobj.DOConstants
 
splitOnUnbackslashedCommas(String) - Static method in class net.cnri.dobj.HeaderSet
 
STORAGE_ERROR - Static variable in exception net.cnri.dobj.DOException
 
StorageProxy - Interface in net.cnri.dobj
StorageProxy objects provide an interface to the storage layer of a registry for a single object.
STORE_CREDENTIAL_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
STORE_DATA_OP_ID - Static variable in interface net.cnri.dobj.DOConstants
 
storeDataElement(String, InputStream) - Method in interface net.cnri.dobj.StorageProxy
Writes data from the given InputStream as the data element for the given object ID.
StreamPair - Class in net.cnri.dobj
A StreamPair is a simple container that holds an associated InputStream and OutputStream
StreamPair(InputStream, OutputStream) - Constructor for class net.cnri.dobj.StreamPair
 
StreamPair(int, InputStream, OutputStream) - Constructor for class net.cnri.dobj.StreamPair
 
SUCCESS_RESPONSE_CODE - Static variable in class net.cnri.dobj.DOConnection
 

T

TITLE_ATTRIBUTE - Static variable in interface net.cnri.dobj.DOConstants
 
toHandleAuth() - Method in interface net.cnri.dobj.DOAuthentication
Returns this authentication in a form that will work with handle system administration.
toHandleAuth() - Method in class net.cnri.dobj.PKAuthentication
Returns this authentication in a form that will work with handle system administration.
toHandleAuth() - Method in class net.cnri.dobj.ProxiedAuthentication
Returns this authentication in a form that will work with handle system administration.
toHandleAuth() - Method in class net.cnri.dobj.SecretKeyAuthentication
Returns this authentication in a form that will work with handle system administration.
toString() - Method in class net.cnri.do_api.DataElement
 
toString() - Method in class net.cnri.do_api.DigitalObject
Returns a nicely formatted label for this object
toString() - Method in class net.cnri.do_api.EntityMap.Entity
 
toString() - Method in class net.cnri.do_api.Repository
 
toString() - Method in class net.cnri.dobj.DOConnection
 
toString() - Method in exception net.cnri.dobj.DOException
 
toString() - Method in class net.cnri.dobj.DOMetadata
 
toString() - Method in class net.cnri.dobj.GenericEncryption
 
toString() - Method in class net.cnri.dobj.HeaderItem
 
toString() - Method in class net.cnri.dobj.HeaderSet
 
toString() - Method in class net.cnri.dobj.PKAuthentication
 
toString() - Method in class net.cnri.dobj.SecretKeyAuthentication
 
toString() - Method in class net.cnri.dobj.StreamPair
 
TYPE_ATTRIBUTE - Static variable in class net.cnri.do_api.EntityMap
 

U

UNABLE_TO_LOCATE_OBJECT_ERROR - Static variable in exception net.cnri.dobj.DOException
 
unescapeURLTxt(String) - Static method in class net.cnri.dobj.HeaderSet
 
updateModification(long) - Method in class net.cnri.dobj.DOMetadata
 

V

verifyDataElement(String) - Method in class net.cnri.do_api.DigitalObject
Verifies whether or not the data element with the given name exists within this object
verifyDigitalObject(String) - Method in class net.cnri.do_api.Repository
Verifies that the specified digital object exists in the current repository
verifyPassword(String, VerifyAuthRequest) - Static method in class net.cnri.dobj.DOServerConnection
 

W

write(InputStream) - Method in class net.cnri.do_api.DataElement
 
write(InputStream, boolean) - Method in class net.cnri.do_api.DataElement
Writes the bytes from the given InputStream to the data element, returning the total number of bytes written.
writeEncryptedElement(DataElement, SecretKey, InputStream) - Method in class net.cnri.do_api.DOKeyRing
Encrypts and writes the data from the given source to the DataElement using the secret key to encrypt the data while recording the key identifier in the data element's attributes.
writeEscapedTxt(OutputStream, String) - Static method in class net.cnri.dobj.HeaderSet
 
writeHeaders(OutputStream) - Method in class net.cnri.dobj.HeaderSet
 

A B C D E F G H I K L M N O P R S T U V W