corda / com.r3.corda.networkmanage.common

Package com.r3.corda.networkmanage.common

Types

CertPathChecker

class CertPathChecker

This certificate path checkers validates the certificate path by checking whether at least one path consists of the certificate type from the set of valid ones and ends with the root certificate passed in rootCert. Additionally, there is a support for the certificate revocation status validation that can be enabled by setting the checkRevocation flag.

CertPathCheckerTests

class CertPathCheckerTests

CertificateHierarchyNode

interface CertificateHierarchyNode

CertificateHierarchyNodeInstance

class CertificateHierarchyNodeInstance : CertificateHierarchyNode

ENMService

abstract class ENMService : Closeable

InvalidCertificateException

class InvalidCertificateException

LoggingRenderer

class LoggingRenderer : Renderer

Pipes messages to the provided logging context ctx and reads input from the standard console.

Menu

class Menu

A generic menu class for console based interactions with user. Inspired by https://github.com/bryandh/genericmenu, but adjusted to our the particular needs of this project.

MenuItem

data class MenuItem

Single menu item described by the selection key, label associated with this item, action to be executed on response to the item selection and termination flag used to decide whether to loop after action completion.

NewCertificateHierarchy

enum class NewCertificateHierarchy : CertificateHierarchyNode

OldCertificateHierarchy

enum class OldCertificateHierarchy : CertificateHierarchyNode

Renderer

interface Renderer

Interface for the class responsible for handling messages, errors and user input. Depending on the implementation, can either pipe messages to a log file or some other output (e.g. shell console).

Exceptions

InvalidMenuChoiceException

class InvalidMenuChoiceException : IllegalArgumentException

Exception explicitly for handling the case where a user selects an invalid/non-existent option from the menu.