Package-level declarations
Types
Link copied to clipboard
Cargo Delivery Request.
Link copied to clipboard
Supported hashing algorithms.
Link copied to clipboard
Link copied to clipboard
class NodeConnectionParams(val internetAddress: String, val identityKey: PublicKey, val sessionKey: SessionKey)
Link copied to clipboard
class PrivateEndpointConnParams(val identityKey: PublicKey, val internetGatewayAddress: String, val deliveryAuth: CertificationPath, val sessionKey: SessionKey)
Link copied to clipboard
Base class for all exceptions in this library
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Supported symmetric ciphers.
Functions
Link copied to clipboard
fun issueDeliveryAuthorization(subjectPublicKey: PublicKey, issuerPrivateKey: PrivateKey, validityEndDate: ZonedDateTime, issuerCertificate: Certificate, validityStartDate: ZonedDateTime = ZonedDateTime.now()): Certificate
Issue a Parcel Delivery Authorization (PDA) or Cargo Delivery Authorization (CDA).
Link copied to clipboard
fun issueEndpointCertificate(subjectPublicKey: PublicKey, issuerPrivateKey: PrivateKey, validityEndDate: ZonedDateTime, issuerCertificate: Certificate? = null, validityStartDate: ZonedDateTime = ZonedDateTime.now()): Certificate
Issue Relaynet PKI certificate to a private or public endpoint.
Link copied to clipboard
fun issueGatewayCertificate(subjectPublicKey: PublicKey, issuerPrivateKey: PrivateKey, validityEndDate: ZonedDateTime, issuerCertificate: Certificate? = null, validityStartDate: ZonedDateTime = ZonedDateTime.now()): Certificate
Issue Awala PKI certificate to a gateway.