APIList of functions

List of functions

		// Not yet available
	
		// Not yet available
	
		# Auto-generated from the source code (by update-interface)
		CN->DAY   # = 24 * 60 * 60 * 1000
		CN->HOUR   # = 60 * 60 * 1000
		CN->MINUTE   # = 60 * 1000
		CN->MONTH   # = 30 * 24 * 60 * 60 * 1000
		CN->SECOND   # = 1000
		CN->WEEK   # = 7 * 24 * 60 * 60 * 1000
		CN->YEAR   # = 365 * 24 * 60 * 60 * 1000
		CN->emptyBytesHash
		CN->now   # = time * 1000
		CN->version   # = 'Condensation, Perl, '.$CN::VERSION
		CN->zeroCTR   # = "\0" x 16
		CN->booleanCompare($a, $b)
		CN->booleanFromBytes($bytes)
		CN->bytesFromBoolean($value)
		CN->bytesFromInteger($value)
		CN->bytesFromUnsigned($value)
		CN->groupedBoxOperations($operations)
		CN->integerFromBytes($bytes)
		CN->intermediateFolders($path)
		CN->listFolder($folder)
		CN->max($numbers)
		CN->min($numbers)
		CN->randomBytes($length)
		CN->randomHex($length)
		CN->randomKey
		CN->readBytesFromFile($filename)
		CN->unsignedFromBytes($bytes)
		CN->verifyEnvelopeSignature($envelope, $publicKey, $hash)
		CN->writeBytesToFile($filename, $bytes)

		CN::AccountWithKey->equals($a, $b)
		CN::AccountWithKey->new($store, $publicKey)
		$o->publicKey
		$o->store
		$o->equals($that)

		CN::ActorGroup->forActor($storeUrl, $accountWithKey)
		CN::ActorGroup->new($members, $entrustedKeys)
		$o->entrustedKeys
		$o->members
		$o->addToRecord($record)
		$o->contains($actorHash)
		$o->entrusts($actorHash)
		$o->isActive
		$o->leader
		$o->publicKeys

		CN::ActorGroup::Member->new($storeUrl, $accountWithKey, $revision, $isActive)
		$o->accountWithKey
		$o->isActive
		$o->revision
		$o->storeUrl

		CN::ActorWithDataTree->new($keyPair, $storageStore, $messagingStore, $messagingStoreUrl, $publicKeyCache)
		$o->actorGroupSelector
		$o->actorSelector
		$o->entrustedKeysSelector
		$o->groupDataSharer
		$o->groupDataTree
		$o->groupRoot
		$o->keyPair
		$o->localDataTree
		$o->localRoot
		$o->messagingPrivateRoot
		$o->messagingStore
		$o->messagingStoreUrl
		$o->publicDataSelector
		$o->sentList
		$o->sentListReady
		$o->storagePrivateRoot
		$o->storageStore
		$o->announce
		$o->announceOnStore($destination)
		$o->doNotEntrust($hash)
		$o->entrust($publicKey)
		$o->findMember($memberHash)
		$o->forgetOldIdleActors($limit)
		$o->getEntrustedKeys
		$o->getGroupDataMembers
		$o->getName
		$o->isGroupMember($actorHash)
		$o->isMe($actorHash)
		$o->openMessageChannel($label, $validity)
		$o->procurePrivateData($interval)
		$o->procureSentList($interval)
		$o->register($active, $groupData)
		$o->savePrivateDataAndShareGroupData
		$o->sendMessages
		$o->setName($name)

		CN::BoxAddition->new($accountHash, $boxLabel, $hash, $object)
		$o->accountHash
		$o->boxLabel
		$o->hash
		$o->object

		CN::BoxRemoval->new($accountHash, $boxLabel, $hash)
		$o->accountHash
		$o->boxLabel
		$o->hash

		CN::CardBuilder->new($keyPair)
		$o->keyPair
		$o->addActor($storeUrl, $hash, $revision, $status)
		$o->addEntrustedActor($storeUrl, $hash)
		$o->create
		$o->mergeEntrustedRevision($revision)

		CN::DataTree->new($keyPair, $store)
		$o->dataChanged
		$o->hasPartsToMerge
		$o->keyPair
		$o->parts
		$o->prune
		$o->root
		$o->rootItem
		$o->unsaved
		$o->get($selector)
		$o->getOrCreate($selector)
		$o->merge($hashesAndKeys)
		$o->mergeNode($part, $selector, $record, $oldFormat)
		$o->read
		$o->save

		CN::DataTree::Item->new($selector)
		$o->createSaveRecord
		$o->detachSaveRecord
		$o->forget
		$o->mergeValue($part, $revision, $record)
		$o->pruneTree
		$o->setPart($part)

		CN::DataTree::Part->new

		CN::DetachedDataTree->new($keyPair)
		$o->savingDone($revision, $newPart, $obsoleteParts)

		CN::DiscoverActorGroup->forActorGroup($keyPair, $actorGroup, $delegate)
		CN::DiscoverActorGroup->new($keyPair, $knownPublicKeys, $delegate)
		$o->nodes
		$o->addActor($storeUrl, $actorHash, $revision, $status)
		$o->addActorWithPublicKey($storeUrl, $publicKey, $revision, $status)
		$o->covers($hash)
		$o->discover
		$o->extend

		CN::DiscoverActorGroup::Card->new($storeUrl, $accountWithKey, $envelopeHash, $envelope, $cardHash, $card)
		$o->accountWithKey
		$o->card
		$o->cardHash
		$o->envelope
		$o->envelopeHash
		$o->storeUrl

		CN::DiscoverActorGroup::Link->new($node, $revision, $status)
		$o->node
		$o->revision
		$o->status

		CN::DiscoverActorGroup::Node->new($discoverer, $storeUrl, $actorHash)
		$o->actorHash
		$o->attachedToUs
		$o->cards
		$o->isActive
		$o->isActiveOrIdle
		$o->links
		$o->revision
		$o->status
		$o->storeUrl
		$o->attach
		$o->discover
		$o->hasLinkToUs
		$o->merge($revision, $status)
		$o->readCards

		CN::ErrorHandlingStore->new($store, $url, $errorHandler)
		$o->errorHandler
		$o->id
		$o->store
		$o->url
		$o->book($hash, $keyPair)
		$o->get($hash, $keyPair)
		$o->list($accountHash, $boxLabel, $timeout, $keyPair)
		$o->modify($additions, $removals, $keyPair)
		$o->put($hash, $object, $keyPair)

		CN::FolderStore->forUrl($url)
		CN::FolderStore->new($folder)
		$o->folder
		$o->id
		$o->permissions
		$o->accounts
		$o->addAccount($accountHash)
		$o->book($hash, $keyPair)
		$o->checkPermissions($logger)
		$o->createIfNecessary
		$o->exists
		$o->get($hash, $keyPair)
		$o->list($accountHash, $boxLabel, $timeout, $keyPair)
		$o->modify($additions, $removals, $keyPair)
		$o->put($hash, $object, $keyPair)
		$o->removeAccount($accountHash)
		$o->setPermissions($permissions)

		CN::FolderStore::PosixPermissions->forFolder($folder)
		$o->gid
		$o->uid
		$o->checkPermissions($item, $expectedMode, $logger)
		$o->group
		$o->mkdir($folder, $mode)
		$o->user
		$o->writeTemporaryFile($folder, $mode)

		CN::FolderStore::PosixPermissions::Group->accountFolderMode   # = 0771
		CN::FolderStore::PosixPermissions::Group->baseFolderMode   # = 0771
		CN::FolderStore::PosixPermissions::Group->objectFileMode   # = 0664
		CN::FolderStore::PosixPermissions::Group->objectFolderMode   # = 0771
		CN::FolderStore::PosixPermissions::Group->new($gid)
		$o->target
		$o->boxFileMode($boxLabel)
		$o->boxFolderMode($boxLabel)

		CN::FolderStore::PosixPermissions::User->accountFolderMode   # = 0711
		CN::FolderStore::PosixPermissions::User->baseFolderMode   # = 0711
		CN::FolderStore::PosixPermissions::User->objectFileMode   # = 0644
		CN::FolderStore::PosixPermissions::User->objectFolderMode   # = 0711
		CN::FolderStore::PosixPermissions::User->new($uid)
		$o->target
		$o->boxFileMode($boxLabel)
		$o->boxFolderMode($boxLabel)

		CN::FolderStore::PosixPermissions::World->accountFolderMode   # = 0777
		CN::FolderStore::PosixPermissions::World->baseFolderMode   # = 0777
		CN::FolderStore::PosixPermissions::World->boxFileMode   # = 0666
		CN::FolderStore::PosixPermissions::World->boxFolderMode   # = 0777
		CN::FolderStore::PosixPermissions::World->objectFileMode   # = 0666
		CN::FolderStore::PosixPermissions::World->objectFolderMode   # = 0777
		CN::FolderStore::PosixPermissions::World->target   # = 'everybody'
		CN::FolderStore::PosixPermissions::World->new

		CN::FolderStore::Watcher->new($folder)
		CN::FolderStore::Watcher->new($folder)
		$o->done
		$o->done
		$o->wait($remaining, $until)
		$o->wait($remaining, $until)

		CN::GroupDataSharer->new($actor)
		$o->onMessageChannelSubmissionCancelled
		$o->addDataHandler($label, $dataHandler)
		$o->addDataTo($record)
		$o->createMessage
		$o->mergeData($record)
		$o->mergeExternalData($store, $record, $source)
		$o->onMessageChannelSubmissionDone($succeeded, $failed)
		$o->onMessageChannelSubmissionRecipientDone($recipientAccountWithKey)
		$o->onMessageChannelSubmissionRecipientFailed($recipientAccountWithKey)
		$o->processGroupDataMessage($message, $section)
		$o->removeDataHandler($label, $dataHandler)
		$o->share

		CN::HTTPStore->forUrl($url)
		CN::HTTPStore->new($url)
		CN::HTTPStore->recordFromBoxOperations($additions, $removals)
		$o->id
		$o->book($hash, $keyPair)
		$o->get($hash, $keyPair)
		$o->list($accountHash, $boxLabel, $timeout, $keyPair)
		$o->modify($additions, $removals, $keyPair)
		$o->put($hash, $object, $keyPair)

		CN::Hash->calculateFor($bytes)
		CN::Hash->equals($a, $b)
		CN::Hash->fromBytes($hashBytes)
		CN::Hash->fromHex($hashHex)
		$o->bytes
		$o->cmp($that)
		$o->equals($that)
		$o->hex
		$o->shortHex

		CN::HashAndKey->new($hash, $key)
		$o->hash
		$o->key

		CN::HashVerificationStore->new($store)
		$o->id
		$o->store
		$o->book($hash, $keyPair)
		$o->get($hash, $keyPair)
		$o->list($accountHash, $boxLabel, $timeout, $keyPair)
		$o->modify($additions, $removals, $keyPair)
		$o->put($hash, $object, $keyPair)

		CN::InMemoryStore->create
		$o->id
		$o->accountForWriting($hash)
		$o->add($accountHash, $boxLabel, $hash)
		$o->book($hash, $keyPair)
		$o->collectGarbage($graceTime)
		$o->get($hash, $keyPair)
		$o->list($accountHash, $boxLabel, $timeout, $keyPair)
		$o->modify($additions, $removals, $keyPair)
		$o->new($id)
		$o->put($hash, $object, $keyPair)
		$o->remove($accountHash, $boxLabel, $hash)

		$o->new
		$o->isInternal($url)
		$o->mayEnvelopeReferToStoreUrl($accountWithKey, $envelope, $storeUrl)

		CN::KeyPair->equals($a, $b)
		CN::KeyPair->fromHex($hex)
		CN::KeyPair->fromRecord($record)
		CN::KeyPair->generate
		CN::KeyPair->new($publicKey, $rsaPrivateKey)
		$o->publicKey
		$o->rsaPrivateKey
		$o->createMessageEnvelope($storeUrl, $messageRecord, $recipientPublicKeys, $expires)
		$o->createPrivateEnvelope($contentHashAndKey, $recipientPublicKeys)
		$o->createPublicEnvelope($contentHash)
		$o->decrypt($bytes)
		$o->decryptKeyOnEnvelope($envelope)
		$o->equals($that)
		$o->getAndDecrypt($hashAndKey, $store)
		$o->getAndDecryptRecord($hashAndKey, $store)
		$o->getPublicKey($hash, $store)
		$o->getRecord($hash, $store)
		$o->loadActorGroup($store, $record, $knownPublicKeys, $delegate)
		$o->sign($digest)
		$o->signHash($hash)
		$o->toHex
		$o->toRecord
		$o->transfer($hashes, $sourceStore, $destinationStore)

		CN::MessageBoxReader->new($pool, $accountWithKey)
		$o->accountWithKey
		$o->pool
		$o->read($timeout)

		CN::MessageBoxReader::Entry->new($hash)

		CN::MessageBoxReaderPool->new($keyPair, $publicKeyCache, $delegate)
		$o->keyPair
		$o->publicKeyCache

		CN::MessageChannel->new($actor, $label, $validity)
		$o->actor
		$o->entrustedKeys
		$o->item
		$o->label
		$o->recipients
		$o->unsaved
		$o->validity
		$o->addObject($hash, $object)
		$o->addTransfer($hashes, $sourceStore, $context)
		$o->clear
		$o->setRecipientActorGroup($actorGroup)
		$o->setRecipients($recipients, $entrustedKeys)
		$o->submit($message, $done)

		CN::MessageChannel::Submission->new($channel, $message, $done)
		$o->channel
		$o->entrustedKeys
		$o->envelopeHash
		$o->envelopeObject
		$o->expires
		$o->message
		$o->recipients
		$o->onDataSaved

		CN::MissingObject->new($hash, $store)
		$o->context
		$o->hash
		$o->path
		$o->store

		CN::Object->emptyHeader   # = "\0\0\0\0"
		CN::Object->create($header, $data)
		CN::Object->fromBytes($bytes)
		CN::Object->fromFile($file)
		$o->byteLength
		$o->bytes
		$o->data
		$o->hashesCount
		$o->header
		$o->calculateHash
		$o->crypt($key)
		$o->hashAtIndex($index)
		$o->hashes
		$o->writeToFile($file)

		CN::ObjectCache->new($backend, $cache)
		$o->backend
		$o->cache
		$o->id
		$o->book($hash, $keyPair)
		$o->get($hash, $keyPair)
		$o->list($accountHash, $boxLabel, $timeout, $keyPair)
		$o->modify($additions, $removals, $keyPair)
		$o->put($hash, $object, $keyPair)

		CN::PrivateBoxReader->new($keyPair, $store, $delegate)
		$o->accountWithKey
		$o->delegate
		$o->keyPair
		$o->invalid($entry, $reason)
		$o->read

		CN::PrivateRoot->new($keyPair, $store, $delegate)
		$o->delegate
		$o->hasChanges
		$o->privateBoxReader
		$o->procured
		$o->unsaved
		$o->addDataHandler($label, $dataHandler)
		$o->dataChanged
		$o->onPrivateBoxEntry($source, $envelope, $contentHashAndKey, $content)
		$o->onPrivateBoxInvalidEntry($source, $reason)
		$o->procure($interval)
		$o->removeDataHandler($label, $dataHandler)
		$o->save($entrustedKeys)
		$o->savingSucceeded

		CN::PublicKey->fromObject($object)
		$o->bytes
		$o->hash
		$o->object
		$o->encrypt($bytes)
		$o->verifyHash($hash, $signature)

		CN::PublicKeyCache->new($maxSize)
		$o->add($publicKey)
		$o->get($hash)

		$o->new($store, $keyPair, $commitPool)
		$o->put($hash)

		CN::ReceivedMessage->new($messageBoxReader, $entry, $source, $envelope, $senderStoreUrl, $sender, $content)
		$o->content
		$o->envelope
		$o->sender
		$o->senderStoreUrl
		$o->source
		$o->skip
		$o->waitForSenderStore

		CN::Record->fromObject($object)
		CN::Record->new($bytes, $hash)
		$o->asBoolean
		$o->asInteger
		$o->asText
		$o->asUnsigned
		$o->booleanValue
		$o->bytes
		$o->bytesValue
		$o->children
		$o->firstChild
		$o->hash
		$o->hashAndKeyValue
		$o->hashValue
		$o->integerValue
		$o->textValue
		$o->unsignedValue
		$o->add($bytes, $hash)
		$o->addBoolean($value, $hash)
		$o->addFromObject($object)
		$o->addHash($hash)
		$o->addHashAndKey($hashAndKey)
		$o->addInteger($value, $hash)
		$o->addRecord($records)
		$o->addText($value, $hash)
		$o->addUnsigned($value, $hash)
		$o->asHashAndKey
		$o->calculateSize
		$o->child($bytes)
		$o->childWithText($text)
		$o->contains($bytes)
		$o->containsText($text)
		$o->countEntries
		$o->dependentHashes
		$o->nthChild($i)
		$o->set($bytes, $hash)
		$o->toObject

		CN::RecordReader->new($object, $data)
		$o->hasError
		$o->readUnsigned32
		$o->readUnsigned64
		$o->readUnsigned8
		$o->trailer
		$o->readBytes($length)
		$o->readChildren($record)
		$o->use($length)

		CN::RecordWriter->new
		$o->data
		$o->header
		$o->addHash($hash)
		$o->writeBytes($bytes)
		$o->writeChildren($record)
		$o->writeNode($record, $hasMoreSiblings)
		$o->writeUnsigned32($value)
		$o->writeUnsigned64($value)
		$o->writeUnsigned8($value)

		CN::RootDataTree->new($privateRoot, $label)
		$o->label
		$o->privateRoot
		$o->addDataTo($record)
		$o->mergeData($record)
		$o->mergeExternalData($store, $record, $source)
		$o->savingDone($revision, $newPart, $obsoleteParts)

		CN::Selector->root($dataTree)
		$o->booleanValue
		$o->bytesValue
		$o->clear
		$o->dataTree
		$o->hashAndKeyValue
		$o->hashValue
		$o->integerValue
		$o->label
		$o->parent
		$o->textValue
		$o->unsignedValue
		$o->addMergedSource($hash)
		$o->addObject($hash, $object)
		$o->child($label)
		$o->childWithText($label)
		$o->children
		$o->clearInThePast
		$o->firstValue
		$o->forget
		$o->forgetBranch
		$o->isSet
		$o->merge($revision, $record)
		$o->record
		$o->revision
		$o->set($record)
		$o->setBoolean($value, $hash, $hash)
		$o->setBytes($bytes, $hash)
		$o->setHash($hash, $hash)
		$o->setHashAndKey($hashAndKey, $hashAndKey)
		$o->setInteger($value, $hash, $hash)
		$o->setText($value, $hash, $hash)
		$o->setUnsigned($value, $hash, $hash)

		CN::SentItem->new($unionList, $id)
		$o->envelopeHash
		$o->envelopeHashBytes
		$o->message
		$o->validUntil
		$o->addToRecord($record)
		$o->clear($validUntil)
		$o->merge($part, $validUntil, $message)
		$o->set($validUntil, $envelopeHash, $messageRecord)

		CN::SentList->new($privateRoot)
		$o->createItem($id)
		$o->forgetObsoleteItems
		$o->mergeRecord($part, $record)

		CN::Source->new($keyPair, $accountWithKey, $boxLabel, $hash)
		$o->accountWithKey
		$o->boxLabel
		$o->hash
		$o->keyPair
		$o->referenceCount
		$o->discard
		$o->keep

		CN::SubDataTree->new($parentSelector)
		$o->parentSelector
		$o->partSelector($hashAndKey)
		$o->read
		$o->savingDone($revision, $newPart, $obsoleteParts)

		CN::Unsaved->new($store)
		$o->id
		$o->isSaving
		$o->savingState
		$o->state
		$o->book($hash, $keyPair)
		$o->get($hash, $keyPair)
		$o->list($accountHash, $boxLabel, $timeout, $keyPair)
		$o->modify($additions, $removals, $keyPair)
		$o->put($hash, $object, $keyPair)
		$o->savingDone
		$o->savingFailed
		$o->startSaving

		CN::Unsaved::State->new
		$o->dataSavedHandlers
		$o->mergedSources
		$o->objects
		$o->addDataSavedHandler($handlers)
		$o->addMergedSource($sources)
		$o->addObject($hash, $object)
		$o->merge($state)
	
		// Not yet available