diff --git a/api/classes/cargo.html b/api/classes/cargo.html
index b5aa93aac..80c4a9638 100644
--- a/api/classes/cargo.html
+++ b/api/classes/cargo.html
@@ -2483,7 +2483,7 @@
constructor
Parameters
@@ -2515,7 +2515,7 @@ date
@@ -2526,7 +2526,7 @@ id
@@ -2537,7 +2537,7 @@ payloadSerialized
@@ -2548,7 +2548,7 @@ recipientAddress
@@ -2559,7 +2559,7 @@ senderCaCertificateChain
@@ -2570,7 +2570,7 @@ senderCertificate
@@ -2581,7 +2581,7 @@ ttl
@@ -2599,7 +2599,7 @@ expiryDate
Returns Date
@@ -2620,7 +2620,7 @@ getSenderCertificationPath
serialize
Parameters
@@ -2679,7 +2679,7 @@unwrapPayload
Parameters
@@ -2703,7 +2703,7 @@validate
Static deserialize
Parameters
diff --git a/api/classes/cargocollectionauthorization.html b/api/classes/cargocollectionauthorization.html new file mode 100644 index 000000000..1fb0e3daa --- /dev/null +++ b/api/classes/cargocollectionauthorization.html @@ -0,0 +1,2821 @@ + + + + + ++- Public
+ - Public/Protected
+ - All
+
+Hierarchy
++-
+ Message<EmptyPayloadPlaintext>
+
+
++-
+ CargoCollectionAuthorization
+
+
+Index
+Constructors
++- constructor
+
+Properties
++- date
+ - id
+ - payload
Serialized
+ - recipient
Address
+ - sender
CaCertificateChain
+ - sender
Certificate
+ - ttl
+
+Accessors
++- expiry
Date
+
+Methods
++- get
SenderCertificationPath
+ - serialize
+ - unwrap
Payload
+ - validate
+ - deserialize
+
+Constructors
+constructor
++- new
CargoCollectionAuthorization(recipientAddress: string, senderCertificate: Certificate, payloadSerialized: Buffer, options?: Partial<MessageOptions>): CargoCollectionAuthorization
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+ -
+
+ -
+
+
+recipientAddress: string
+senderCertificate: Certificate
+payloadSerialized: Buffer
+Default value options: Partial<MessageOptions> = {}
+Returns CargoCollectionAuthorization
+Properties
+date
+id
+payloadSerialized
+recipientAddress
+senderCaCertificateChain
+senderCertificate
+ttl
+Accessors
+expiryDate
++- get expiryDate(): Date
+
++-
+
+
+
+Returns Date
+Methods
+getSenderCertificationPath
++- get
SenderCertificationPath(trustedCertificates: keyof Certificate[]): Promise<keyof Certificate[]>
+
++-
+
+
+
+
+
+
+
+Return certification path between sender's certificate and one certificate in +
+trustedCertificates
.Parameters
++-
+
+
+
+
+trustedCertificates: keyof Certificate[]
+Returns Promise<keyof Certificate[]>
+serialize
++- serialize(senderPrivateKey: CryptoKey, signatureOptions?: SignatureOptions): Promise<ArrayBuffer>
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+senderPrivateKey: CryptoKey
+Optional signatureOptions: SignatureOptions
+Returns Promise<ArrayBuffer>
+unwrapPayload
++- unwrap
Payload(keyStore: PrivateKeyStore): Promise<{ payload: EmptyPayloadPlaintext; senderSessionKey?: OriginatorSessionKey }>
+
++-
+
+
+
+Parameters
++-
+
+
+keyStore: PrivateKeyStore
+Returns Promise<{ payload: EmptyPayloadPlaintext; senderSessionKey?: OriginatorSessionKey }>
+validate
++- validate(trustedCertificates?: keyof Certificate[]): Promise<void>
+
++-
+
+
+
+
+
+
+
+Report whether the message is valid.
+Parameters
++-
+
+
+
+
+Optional trustedCertificates: keyof Certificate[]
+If present, will check that the sender is authorized to send + the message based on the trusted certificates.
+Returns Promise<void>
+Static deserialize
++- deserialize(cargoSerialized: ArrayBuffer): Promise<CargoCollectionAuthorization>
+
++-
+
+
+
+Parameters
++-
+
+
+cargoSerialized: ArrayBuffer
+Returns Promise<CargoCollectionAuthorization>
+Generated using TypeDoc
+constructor
Parameters
@@ -2472,7 +2472,7 @@messages
deserializeMessages
Returns AsyncIterableIterator<Parcel>
@@ -2506,7 +2506,7 @@serialize
Returns ArrayBuffer
@@ -2523,7 +2523,7 @@Static deserialize
Parameters
diff --git a/api/classes/certificate.html b/api/classes/certificate.html index b05ae9440..8b118d238 100644 --- a/api/classes/certificate.html +++ b/api/classes/certificate.html @@ -2477,7 +2477,7 @@constructor
Parameters
@@ -2499,7 +2499,7 @@pkijsCertificate
calculateSubjectPrivateAddress
Returns Promise<string>
@@ -2533,7 +2533,7 @@getCertificationPath
getCommonName
Returns string
@@ -2593,7 +2593,7 @@getPublicKey
Returns Promise<CryptoKey>
@@ -2610,7 +2610,7 @@getSerialNumber
getSerialNumberHex
Returns string
@@ -2652,7 +2652,7 @@isEqual
serialize
validate
Returns void
@@ -2721,7 +2721,7 @@Static deserialize
Static issue
name
Inherited from RelaynetError.name
Overrides Error.name
-- Defined in src/lib/RelaynetError.ts:4
+ - Defined in src/lib/RelaynetError.ts:4
Returns string
diff --git a/api/classes/cmserror.html b/api/classes/cmserror.html index 59417624b..567bb8dbd 100644 --- a/api/classes/cmserror.html +++ b/api/classes/cmserror.html @@ -2575,7 +2575,7 @@name
Inherited from RelaynetError.name
Overrides Error.name
-- Defined in src/lib/RelaynetError.ts:4
+ - Defined in src/lib/RelaynetError.ts:4
Returns string
diff --git a/api/classes/dhcertificateerror.html b/api/classes/dhcertificateerror.html index d5007aa14..435468a5c 100644 --- a/api/classes/dhcertificateerror.html +++ b/api/classes/dhcertificateerror.html @@ -2568,7 +2568,7 @@name
Inherited from RelaynetError.name
Overrides Error.name
-- Defined in src/lib/RelaynetError.ts:4
+ - Defined in src/lib/RelaynetError.ts:4
Returns string
diff --git a/api/classes/emptypayloadplaintext.html b/api/classes/emptypayloadplaintext.html new file mode 100644 index 000000000..e8e456b56 --- /dev/null +++ b/api/classes/emptypayloadplaintext.html @@ -0,0 +1,2523 @@ + + + + + ++- Public
+ - Public/Protected
+ - All
+
+Hierarchy
++-
+ EmptyPayloadPlaintext
+
+
+Implements
++- PayloadPlaintext
+
+Index
+Methods
++- serialize
+ - deserialize
+
+Methods
+serialize
++- serialize(): ArrayBuffer
+
++-
+
+
+
+Returns ArrayBuffer
+Static deserialize
++- deserialize(serialization: ArrayBuffer): EmptyPayloadPlaintext
+
++-
+
+
+
+Parameters
++-
+
+
+serialization: ArrayBuffer
+Returns EmptyPayloadPlaintext
+Generated using TypeDoc
+Abstract decrypt
Abstract getRecipient
@@ -2488,7 +2488,7 @@
@@ -2511,7 +2511,7 @@
diff --git a/api/classes/invalidmessageerror.html b/api/classes/invalidmessageerror.html
index 82014a6bb..1ee461531 100644
--- a/api/classes/invalidmessageerror.html
+++ b/api/classes/invalidmessageerror.html
@@ -2575,7 +2575,7 @@
Cargo
+
+ CargoCollectionAuthorization
+
@@ -2496,7 +2499,7 @@
date: Date
@@ -2537,7 +2540,7 @@ id: string
@@ -2547,7 +2550,7 @@ payloadSerialized: Buffer
@@ -2557,7 +2560,7 @@ recipientAddress: string
@@ -2567,7 +2570,7 @@ senderCaCertificateChain: keyof Certificate[]
@@ -2577,7 +2580,7 @@ senderCertificate: Certificate
@@ -2587,7 +2590,7 @@ ttl: number
@@ -2604,7 +2607,7 @@
@@ -2655,7 +2658,7 @@
@@ -2688,7 +2691,7 @@
diff --git a/api/classes/parcel.html b/api/classes/parcel.html
index 1baee0f13..109d9eea1 100644
--- a/api/classes/parcel.html
+++ b/api/classes/parcel.html
@@ -2483,7 +2483,7 @@
@@ -2652,7 +2652,7 @@
@@ -2735,7 +2735,7 @@
- InvalidMessageError
+ RAMFError
- RAMFError
+ InvalidMessageError
@@ -2614,7 +2614,7 @@
type: string
@@ -2484,7 +2484,7 @@ value: Buffer
@@ -2501,7 +2501,7 @@
@@ -2523,7 +2523,7 @@
diff --git a/api/classes/sessionenvelopeddata.html b/api/classes/sessionenvelopeddata.html
index b27fe5fae..62780f6a4 100644
--- a/api/classes/sessionenvelopeddata.html
+++ b/api/classes/sessionenvelopeddata.html
@@ -2444,7 +2444,7 @@
@@ -2490,7 +2490,7 @@
@@ -2532,7 +2532,7 @@
@@ -2564,7 +2564,7 @@
diff --git a/api/classes/sessionlessenvelopeddata.html b/api/classes/sessionlessenvelopeddata.html
index fd9a14af1..4d4ee615c 100644
--- a/api/classes/sessionlessenvelopeddata.html
+++ b/api/classes/sessionlessenvelopeddata.html
@@ -2440,7 +2440,7 @@
@@ -2506,7 +2506,7 @@
@@ -2538,7 +2538,7 @@
diff --git a/api/globals.html b/api/globals.html
index 9ece54352..334234e55 100644
--- a/api/globals.html
+++ b/api/globals.html
@@ -2371,6 +2371,9 @@
Cargo
+
+ CargoCollectionAuthorization
+
CargoMessageSet
@@ -2383,6 +2386,9 @@
DHCertificateError
+
+ EmptyPayloadPlaintext
+
EnvelopedData
@@ -2741,10 +2747,12 @@ - CMSError
- Cargo
+ - Cargo
CollectionAuthorization
- Cargo
MessageSet
- Certificate
- Certificate
Error
- DHCertificate
Error
+ - Empty
PayloadPlaintext
- Enveloped
Data
- Invalid
MessageError
- Message
@@ -2890,7 +2898,7 @@ ECDHCurveName: "P-256" | "P-384" | "P-521"
@@ -2900,7 +2908,7 @@ LocalCargoId: string
@@ -2919,7 +2927,7 @@ KEY_SIZES: ReadonlyArray<number> = [128, 192, 256]
@@ -2929,7 +2937,7 @@ ASN1_SCHEMA: Sequence = new asn1js.Sequence({name: 'RAMFMessage',// @ts-ignorevalue: [new asn1js.VisibleString({ name: 'recipientAddress' } as any),new asn1js.VisibleString({ name: 'id' } as any),new asn1js.DateTime({ name: 'date' } as any),new asn1js.Integer({ name: 'ttl' } as any),new asn1js.OctetString({ name: 'payload' } as any),],})
@@ -2939,7 +2947,7 @@ AUTHORITY_KEY: "2.5.29.35" = "2.5.29.35"
@@ -2949,7 +2957,7 @@ BASIC_CONSTRAINTS: "2.5.29.19" = "2.5.29.19"
@@ -2959,7 +2967,7 @@
@@ -3164,7 +3172,7 @@
serialize
Static deserialize
name
Inherited from RelaynetError.name
Overrides Error.name
-- Defined in src/lib/RelaynetError.ts:4
+ - Defined in src/lib/RelaynetError.ts:4
Returns string
diff --git a/api/classes/message.html b/api/classes/message.html index 6480227b6..1a8fa1da4 100644 --- a/api/classes/message.html +++ b/api/classes/message.html @@ -2440,6 +2440,9 @@Hierarchy
constructor
Parameters
@@ -2527,7 +2530,7 @@date
id
payloadSerialized
recipientAddress
senderCaCertificateChain
senderCertificate
ttl
expiryDate
Returns Date
@@ -2624,7 +2627,7 @@getSenderCertificationPath
Abstract serialize
unwrapPayload
Parameters
@@ -2711,7 +2714,7 @@validate
constructor
Parameters
@@ -2515,7 +2515,7 @@date
@@ -2526,7 +2526,7 @@id
@@ -2537,7 +2537,7 @@payloadSerialized
@@ -2548,7 +2548,7 @@recipientAddress
@@ -2559,7 +2559,7 @@senderCaCertificateChain
@@ -2570,7 +2570,7 @@senderCertificate
@@ -2581,7 +2581,7 @@ttl
@@ -2599,7 +2599,7 @@expiryDate
Returns Date
@@ -2620,7 +2620,7 @@getSenderCertificationPath
serialize
Parameters
@@ -2679,7 +2679,7 @@unwrapPayload
Parameters
@@ -2703,7 +2703,7 @@validate
Static deserialize
Parameters
diff --git a/api/classes/privatekeystore.html b/api/classes/privatekeystore.html index 4ac8df349..3265fa944 100644 --- a/api/classes/privatekeystore.html +++ b/api/classes/privatekeystore.html @@ -2422,7 +2422,7 @@fetchNodeKey
Parameters
@@ -2445,7 +2445,7 @@fetchSessionKey
Parameters
@@ -2471,7 +2471,7 @@saveNodeKey
Parameters
@@ -2497,7 +2497,7 @@saveSessionKey
Parameters
diff --git a/api/classes/privatekeystoreerror.html b/api/classes/privatekeystoreerror.html index 0333f2b74..c7c67afd4 100644 --- a/api/classes/privatekeystoreerror.html +++ b/api/classes/privatekeystoreerror.html @@ -2568,7 +2568,7 @@name
Inherited from RelaynetError.name
Overrides Error.name
-- Defined in src/lib/RelaynetError.ts:4
+ - Defined in src/lib/RelaynetError.ts:4
Returns string
diff --git a/api/classes/ramferror.html b/api/classes/ramferror.html index 4d9212b47..f45dcc0ec 100644 --- a/api/classes/ramferror.html +++ b/api/classes/ramferror.html @@ -2583,7 +2583,7 @@name
Inherited from RelaynetError.name
Overrides Error.name
-- Defined in src/lib/RelaynetError.ts:4
+ - Defined in src/lib/RelaynetError.ts:4
Returns string
diff --git a/api/classes/ramfsyntaxerror.html b/api/classes/ramfsyntaxerror.html index 5da00e6ed..d8040bb2d 100644 --- a/api/classes/ramfsyntaxerror.html +++ b/api/classes/ramfsyntaxerror.html @@ -2575,7 +2575,7 @@name
Inherited from RelaynetError.name
Overrides Error.name
-- Defined in src/lib/RelaynetError.ts:4
+ - Defined in src/lib/RelaynetError.ts:4
Returns string
diff --git a/api/classes/ramfvalidationerror.html b/api/classes/ramfvalidationerror.html index 841735dea..bb351d188 100644 --- a/api/classes/ramfvalidationerror.html +++ b/api/classes/ramfvalidationerror.html @@ -2575,7 +2575,7 @@name
Inherited from RelaynetError.name
Overrides Error.name
-- Defined in src/lib/RelaynetError.ts:4
+ - Defined in src/lib/RelaynetError.ts:4
Returns string
diff --git a/api/classes/relayneterror.html b/api/classes/relayneterror.html index 8e62cc352..b3ad4d4ba 100644 --- a/api/classes/relayneterror.html +++ b/api/classes/relayneterror.html @@ -2447,10 +2447,10 @@Hierarchy
CMSErrorname
Returns string
diff --git a/api/classes/servicemessage.html b/api/classes/servicemessage.html index ac33d6043..cbad1c7df 100644 --- a/api/classes/servicemessage.html +++ b/api/classes/servicemessage.html @@ -2449,7 +2449,7 @@constructor
Parameters
@@ -2474,7 +2474,7 @@type
value
serialize
Static deserialize
decrypt
Parameters
@@ -2467,7 +2467,7 @@getOriginatorKey
getRecipientKeyId
Returns Buffer
@@ -2508,7 +2508,7 @@serialize
Static deserialize
Static encrypt
decrypt
Parameters
@@ -2464,7 +2464,7 @@getRecipientKeyId
Returns Buffer
@@ -2482,7 +2482,7 @@serialize
Static deserialize
Static encrypt
Classes
ECDHCurveName
LocalCargoId
Const AES_KEY_SIZES
AES_Const ASN1_SCHEMA
Const AUTHORITY_KEY
Const BASIC_CONSTRAINTS
Const CMS_ATTR_CONTENT_
CMS_ATTR_CONTENT_TYPE: "1.2.840.113549.1.9.3" = "1.2.840.113549.1.9.3"
@@ -2969,7 +2977,7 @@
Const CMS_ATTR_DIGEST
CMS_ATTR_DIGEST: "1.2.840.113549.1.9.4" = "1.2.840.113549.1.9.4"
@@ -2979,7 +2987,7 @@ CMS_DATA: "1.2.840.113549.1.7.1" = "1.2.840.113549.1.7.1"
@@ -2989,7 +2997,7 @@
Const CMS_DATA
Const CMS_ENVELOPED_DAT
CMS_ENVELOPED_DATA: "1.2.840.113549.1.7.3" = "1.2.840.113549.1.7.3"
@@ -2999,7 +3007,7 @@
Const CMS_SIGNED_DATA
CMS_SIGNED_DATA: "1.2.840.113549.1.7.2" = "1.2.840.113549.1.7.2"
@@ -3009,7 +3017,7 @@ COMMON_NAME: "2.5.4.3" = "2.5.4.3"
@@ -3024,7 +3032,7 @@
@@ -3074,7 +3082,7 @@
Const COMMON_NAME
Const DEFAULT_TTL_SECON
DEFAULT_TTL_SECONDS: number = 5 * 60
@@ -3034,7 +3042,7 @@
Const FORMAT_SIGNATURE_
FORMAT_SIGNATURE_PARSER: Parser<{} & {} & {}> = new Parser().endianess('little').string('magic', { length: 8, assert: 'Relaynet' }).uint8('concreteMessageType').uint8('concreteMessageVersion')
@@ -3044,7 +3052,7 @@
Const MAX_DH_CERT_
MAX_DH_CERT_LENGTH_DAYS: 60 = 60
@@ -3054,7 +3062,7 @@
Const MAX_DH_CERT_
MAX_DH_CERT_LENGTH_MS: number = MAX_DH_CERT_LENGTH_DAYS * SECONDS_PER_DAY * 1_000
@@ -3064,7 +3072,7 @@ ID_LENGTH: 64 = 64
Const MAX_ID_LENGTH
MAX_Const MAX_MESSAGE_LENGT
MAX_MESSAGE_LENGTH: 9437184 = 9437184
@@ -3084,7 +3092,7 @@
Const MAX_PATH_LENGTH_<
MAX_PATH_LENGTH_CONSTRAINT: 2 = 2
@@ -3094,7 +3102,7 @@
Const MAX_PAYLOAD_LENGT
MAX_PAYLOAD_LENGTH: number = 2 ** 23 - 1
@@ -3104,7 +3112,7 @@
Const MAX_RECIPIENT_ADD
MAX_RECIPIENT_ADDRESS_LENGTH: 1024 = 1024
@@ -3114,7 +3122,7 @@ MAX_TTL: 15552000 = 15552000
@@ -3124,7 +3132,7 @@
Const MAX_TTL
Const MAX_TYPE_LENGTH
MAX_TYPE_LENGTH: number = 2 ** 8 - 1
@@ -3134,7 +3142,7 @@
Const MAX_VALUE_LENGTH<
MAX_VALUE_LENGTH: number = 2 ** 32 - 1
@@ -3144,7 +3152,7 @@ PARSER: Parser<{} & {} & {} & {}> = new Parser().endianess('little').uint8('messageTypeLength').string('messageType', { length: 'messageTypeLength', encoding: 'utf8' }).uint32('messageLength').buffer('message', { length: 'messageLength' })
@@ -3154,7 +3162,7 @@
Const PARSER
Const RELAYNET_ORIGINATOR_RELAYNET_ORIGINATOR_EPHEMERAL_CERT_SERIAL_NUMBER: "0.4.0.127.0.17.0.1.0" = "0.4.0.127.0.17.0.1.0"
Const SECONDS_PER_DAY
SECONDS_PER_DAY: 86400 = 86400
@@ -3174,18 +3182,19 @@ SUBJECT_KEY: "2.5.29.14" = "2.5.29.14"
concreteMessageTypeOctet: 67 = 67
+ concreteMessageTypeOctet: 68 = 68
@@ -3195,8 +3204,9 @@
Const SUBJECT_KEY
Const concreteMessageTypeOctet
-Const concreteMessageVe
concreteMessageVersionOctet: 0 = 0
@@ -3206,8 +3216,8 @@ cryptoEngine: any = new CryptoEngine({crypto: webcrypto,name: 'nodeEngine',subtle: webcrypto.subtle,})
@@ -3217,8 +3227,8 @@ pkijsCrypto: SubtleCrypto = getPkijsCrypto()
@@ -3228,7 +3238,7 @@ webcrypto: WebCrypto = new WebCrypto()
@@ -3245,7 +3255,7 @@
@@ -3347,7 +3357,7 @@
@@ -3380,7 +3390,7 @@
@@ -3413,7 +3423,7 @@
@@ -3446,7 +3456,7 @@
@@ -3476,7 +3486,7 @@
@@ -3506,7 +3516,7 @@
@@ -3668,7 +3678,7 @@
@@ -3715,7 +3725,7 @@
@@ -3848,7 +3858,7 @@
@@ -3878,7 +3888,7 @@
@@ -3936,7 +3946,7 @@
@@ -3968,7 +3978,7 @@
@@ -3999,7 +4009,7 @@
@@ -4031,7 +4041,7 @@
@@ -4250,7 +4260,7 @@
@@ -4295,7 +4305,7 @@
diff --git a/api/index.html b/api/index.html
index ffbc60f9f..c3d957bf1 100644
--- a/api/index.html
+++ b/api/index.html
@@ -2371,6 +2371,9 @@
Cargo
+
+ CargoCollectionAuthorization
+
CargoMessageSet
@@ -2383,6 +2386,9 @@
DHCertificateError
+
+ EmptyPayloadPlaintext
+
EnvelopedData
@@ -2742,10 +2748,12 @@ - CMSError
- Cargo
+ - Cargo
CollectionAuthorization
- Cargo
MessageSet
- Certificate
- Certificate
Error
- DHCertificate
Error
+ - Empty
PayloadPlaintext
- Enveloped
Data
- Invalid
MessageError
- Message
@@ -2891,7 +2899,7 @@ ECDHCurveName: "P-256" | "P-384" | "P-521"
@@ -2901,7 +2909,7 @@ LocalCargoId: string
@@ -2920,7 +2928,7 @@ KEY_SIZES: ReadonlyArray<number> = [128, 192, 256]
@@ -2930,7 +2938,7 @@ ASN1_SCHEMA: Sequence = new asn1js.Sequence({name: 'RAMFMessage',// @ts-ignorevalue: [new asn1js.VisibleString({ name: 'recipientAddress' } as any),new asn1js.VisibleString({ name: 'id' } as any),new asn1js.DateTime({ name: 'date' } as any),new asn1js.Integer({ name: 'ttl' } as any),new asn1js.OctetString({ name: 'payload' } as any),],})
@@ -2940,7 +2948,7 @@ AUTHORITY_KEY: "2.5.29.35" = "2.5.29.35"
@@ -2950,7 +2958,7 @@ BASIC_CONSTRAINTS: "2.5.29.19" = "2.5.29.19"
@@ -2960,7 +2968,7 @@
@@ -3165,7 +3173,7 @@
Const cryptoEngine
Const pkijsCrypto
Const webcrypto
cloneAsn1jsValue
Parameters
@@ -3268,7 +3278,7 @@computePrivateNodeAddress
Parameters
@@ -3291,7 +3301,7 @@decimalToHex
Parameters
@@ -3314,7 +3324,7 @@derDeserializeECDHPrivateKey
derDeserializeECDHPublicKey
derDeserializeRSAPrivateKey
derDeserializeRSAPublicKey
derSerializePrivateKey
derSerializePublicKey
deserialize
Type parameters
@@ -3546,7 +3556,7 @@deserializeContentInfo
Parameters
@@ -3569,7 +3579,7 @@deserializeDer
Parameters
@@ -3592,7 +3602,7 @@extractOriginatorKeyId
Parameters
@@ -3615,7 +3625,7 @@extractSignedDataContent
Parameters
@@ -3638,7 +3648,7 @@generateECDHKeyPair
generateRSAKeyPair
generateRandom64BitValue
Returns ArrayBuffer
@@ -3732,7 +3742,7 @@get32UIntFromIntegerBlock
Parameters
@@ -3755,7 +3765,7 @@getAesKeySize
Parameters
@@ -3778,7 +3788,7 @@getOrMakePkijsCertificate
Parameters
@@ -3801,7 +3811,7 @@getPkijsCrypto
Returns SubtleCrypto
@@ -3818,7 +3828,7 @@getPublicKeyDigest
getPublicKeyDigestHex
initSignerInfo
Parameters
@@ -3904,7 +3914,7 @@issueDeliveryAuthorization
issueEndpointCertificate
issueGatewayCertificate
issueInitialDHKeyCertificate
issueNodeCertificate
Parameters
@@ -4054,7 +4064,7 @@makeAuthorityKeyIdExtension
Parameters
@@ -4077,7 +4087,7 @@makeBasicConstraintsExtension
Parameters
@@ -4103,7 +4113,7 @@makeSubjectKeyIdExtension
Parameters
@@ -4126,7 +4136,7 @@parseMessageFields
Parameters
@@ -4149,7 +4159,7 @@parseMessageFormatSignature
Parameters
@@ -4172,7 +4182,7 @@pkijsDecrypt
Parameters
@@ -4201,7 +4211,7 @@serialize
sign
validateFileFormatSignature
Parameters
@@ -4324,7 +4334,7 @@validateIssuerCertificate
Parameters
@@ -4347,7 +4357,7 @@validateMessageIdLength
Parameters
@@ -4370,7 +4380,7 @@validateMessageLength
Parameters
@@ -4393,7 +4403,7 @@validateMessageTiming
Parameters
@@ -4419,7 +4429,7 @@validatePayloadLength
Parameters
@@ -4442,7 +4452,7 @@validateRecipientAddressLength
Parameters
@@ -4465,7 +4475,7 @@validateTtl
Parameters
@@ -4488,7 +4498,7 @@verifySignature
Classes
ECDHCurveName
LocalCargoId
Const AES_KEY_SIZES
AES_Const ASN1_SCHEMA
Const AUTHORITY_KEY
Const BASIC_CONSTRAINTS
Const CMS_ATTR_CONTENT_
CMS_ATTR_CONTENT_TYPE: "1.2.840.113549.1.9.3" = "1.2.840.113549.1.9.3"
@@ -2970,7 +2978,7 @@
Const CMS_ATTR_DIGEST
CMS_ATTR_DIGEST: "1.2.840.113549.1.9.4" = "1.2.840.113549.1.9.4"
@@ -2980,7 +2988,7 @@ CMS_DATA: "1.2.840.113549.1.7.1" = "1.2.840.113549.1.7.1"
@@ -2990,7 +2998,7 @@
Const CMS_DATA
Const CMS_ENVELOPED_DAT
CMS_ENVELOPED_DATA: "1.2.840.113549.1.7.3" = "1.2.840.113549.1.7.3"
@@ -3000,7 +3008,7 @@
Const CMS_SIGNED_DATA
CMS_SIGNED_DATA: "1.2.840.113549.1.7.2" = "1.2.840.113549.1.7.2"
@@ -3010,7 +3018,7 @@ COMMON_NAME: "2.5.4.3" = "2.5.4.3"
@@ -3025,7 +3033,7 @@
@@ -3075,7 +3083,7 @@
Const COMMON_NAME
Const DEFAULT_TTL_SECON
DEFAULT_TTL_SECONDS: number = 5 * 60
@@ -3035,7 +3043,7 @@
Const FORMAT_SIGNATURE_
FORMAT_SIGNATURE_PARSER: Parser<{} & {} & {}> = new Parser().endianess('little').string('magic', { length: 8, assert: 'Relaynet' }).uint8('concreteMessageType').uint8('concreteMessageVersion')
@@ -3045,7 +3053,7 @@
Const MAX_DH_CERT_
MAX_DH_CERT_LENGTH_DAYS: 60 = 60
@@ -3055,7 +3063,7 @@
Const MAX_DH_CERT_
MAX_DH_CERT_LENGTH_MS: number = MAX_DH_CERT_LENGTH_DAYS * SECONDS_PER_DAY * 1_000
@@ -3065,7 +3073,7 @@ ID_LENGTH: 64 = 64
Const MAX_ID_LENGTH
MAX_Const MAX_MESSAGE_LENGT
MAX_MESSAGE_LENGTH: 9437184 = 9437184
@@ -3085,7 +3093,7 @@
Const MAX_PATH_LENGTH_<
MAX_PATH_LENGTH_CONSTRAINT: 2 = 2
@@ -3095,7 +3103,7 @@
Const MAX_PAYLOAD_LENGT
MAX_PAYLOAD_LENGTH: number = 2 ** 23 - 1
@@ -3105,7 +3113,7 @@
Const MAX_RECIPIENT_ADD
MAX_RECIPIENT_ADDRESS_LENGTH: 1024 = 1024
@@ -3115,7 +3123,7 @@ MAX_TTL: 15552000 = 15552000
@@ -3125,7 +3133,7 @@
Const MAX_TTL
Const MAX_TYPE_LENGTH
MAX_TYPE_LENGTH: number = 2 ** 8 - 1
@@ -3135,7 +3143,7 @@
Const MAX_VALUE_LENGTH<
MAX_VALUE_LENGTH: number = 2 ** 32 - 1
@@ -3145,7 +3153,7 @@ PARSER: Parser<{} & {} & {} & {}> = new Parser().endianess('little').uint8('messageTypeLength').string('messageType', { length: 'messageTypeLength', encoding: 'utf8' }).uint32('messageLength').buffer('message', { length: 'messageLength' })
@@ -3155,7 +3163,7 @@
Const PARSER
Const RELAYNET_ORIGINATOR_RELAYNET_ORIGINATOR_EPHEMERAL_CERT_SERIAL_NUMBER: "0.4.0.127.0.17.0.1.0" = "0.4.0.127.0.17.0.1.0"
Const SECONDS_PER_DAY
SECONDS_PER_DAY: 86400 = 86400
@@ -3175,18 +3183,19 @@ SUBJECT_KEY: "2.5.29.14" = "2.5.29.14"
concreteMessageTypeOctet: 67 = 67
+ concreteMessageTypeOctet: 68 = 68
@@ -3196,8 +3205,9 @@
Const SUBJECT_KEY
Const concreteMessageTypeOctet
-Const concreteMessageVe
concreteMessageVersionOctet: 0 = 0
@@ -3207,8 +3217,8 @@ cryptoEngine: any = new CryptoEngine({crypto: webcrypto,name: 'nodeEngine',subtle: webcrypto.subtle,})
@@ -3218,8 +3228,8 @@ pkijsCrypto: SubtleCrypto = getPkijsCrypto()
@@ -3229,7 +3239,7 @@ webcrypto: WebCrypto = new WebCrypto()
@@ -3246,7 +3256,7 @@
@@ -3348,7 +3358,7 @@
@@ -3381,7 +3391,7 @@
@@ -3414,7 +3424,7 @@
@@ -3447,7 +3457,7 @@
@@ -3477,7 +3487,7 @@
@@ -3507,7 +3517,7 @@
@@ -3669,7 +3679,7 @@
@@ -3716,7 +3726,7 @@
@@ -3849,7 +3859,7 @@
@@ -3879,7 +3889,7 @@
@@ -3937,7 +3947,7 @@
@@ -3969,7 +3979,7 @@
@@ -4000,7 +4010,7 @@
@@ -4032,7 +4042,7 @@
@@ -4251,7 +4261,7 @@
@@ -4296,7 +4306,7 @@
diff --git a/api/interfaces/asn1jsserializable.html b/api/interfaces/asn1jsserializable.html
index 80bf3f69d..4d8f42c43 100644
--- a/api/interfaces/asn1jsserializable.html
+++ b/api/interfaces/asn1jsserializable.html
@@ -2406,7 +2406,7 @@ toBER: (sizeOnly?: undefined | false | true) => ArrayBuffer
diff --git a/api/interfaces/basiccertificateissuanceoptions.html b/api/interfaces/basiccertificateissuanceoptions.html
index 604894c48..c422187d3 100644
--- a/api/interfaces/basiccertificateissuanceoptions.html
+++ b/api/interfaces/basiccertificateissuanceoptions.html
@@ -2438,7 +2438,7 @@ issuerPrivateKey: CryptoKey
@@ -2448,7 +2448,7 @@ subjectPublicKey: CryptoKey
@@ -2458,7 +2458,7 @@ validityEndDate: Date
@@ -2468,7 +2468,7 @@
diff --git a/api/interfaces/cargodeliveryrequest.html b/api/interfaces/cargodeliveryrequest.html
index 4b9f2d488..bb2d0d633 100644
--- a/api/interfaces/cargodeliveryrequest.html
+++ b/api/interfaces/cargodeliveryrequest.html
@@ -2417,7 +2417,7 @@ cargo: Buffer
@@ -2427,7 +2427,7 @@ localId: LocalCargoId
diff --git a/api/interfaces/cargorelayclient.html b/api/interfaces/cargorelayclient.html
index 716bbdcab..a9a7e916d 100644
--- a/api/interfaces/cargorelayclient.html
+++ b/api/interfaces/cargorelayclient.html
@@ -2421,7 +2421,7 @@ close: () => void
@@ -2451,7 +2451,7 @@ collectCargo: () => keyof Buffer[]
@@ -2481,7 +2481,7 @@ deliverCargo: (cargo: IterableIterator<CargoDeliveryRequest>) => IterableIterator<LocalCargoId>
diff --git a/api/interfaces/deliveryauthorizationissuanceoptions.html b/api/interfaces/deliveryauthorizationissuanceoptions.html
index bab2e9639..2f4cff497 100644
--- a/api/interfaces/deliveryauthorizationissuanceoptions.html
+++ b/api/interfaces/deliveryauthorizationissuanceoptions.html
@@ -2427,7 +2427,7 @@ issuerCertificate: Certificate
@@ -2438,7 +2438,7 @@
Const cryptoEngine
Const pkijsCrypto
Const webcrypto
cloneAsn1jsValue
Parameters
@@ -3269,7 +3279,7 @@computePrivateNodeAddress
Parameters
@@ -3292,7 +3302,7 @@decimalToHex
Parameters
@@ -3315,7 +3325,7 @@derDeserializeECDHPrivateKey
derDeserializeECDHPublicKey
derDeserializeRSAPrivateKey
derDeserializeRSAPublicKey
derSerializePrivateKey
derSerializePublicKey
deserialize
Type parameters
@@ -3547,7 +3557,7 @@deserializeContentInfo
Parameters
@@ -3570,7 +3580,7 @@deserializeDer
Parameters
@@ -3593,7 +3603,7 @@extractOriginatorKeyId
Parameters
@@ -3616,7 +3626,7 @@extractSignedDataContent
Parameters
@@ -3639,7 +3649,7 @@generateECDHKeyPair
generateRSAKeyPair
generateRandom64BitValue
Returns ArrayBuffer
@@ -3733,7 +3743,7 @@get32UIntFromIntegerBlock
Parameters
@@ -3756,7 +3766,7 @@getAesKeySize
Parameters
@@ -3779,7 +3789,7 @@getOrMakePkijsCertificate
Parameters
@@ -3802,7 +3812,7 @@getPkijsCrypto
Returns SubtleCrypto
@@ -3819,7 +3829,7 @@getPublicKeyDigest
getPublicKeyDigestHex
initSignerInfo
Parameters
@@ -3905,7 +3915,7 @@issueDeliveryAuthorization
issueEndpointCertificate
issueGatewayCertificate
issueInitialDHKeyCertificate
issueNodeCertificate
Parameters
@@ -4055,7 +4065,7 @@makeAuthorityKeyIdExtension
Parameters
@@ -4078,7 +4088,7 @@makeBasicConstraintsExtension
Parameters
@@ -4104,7 +4114,7 @@makeSubjectKeyIdExtension
Parameters
@@ -4127,7 +4137,7 @@parseMessageFields
Parameters
@@ -4150,7 +4160,7 @@parseMessageFormatSignature
Parameters
@@ -4173,7 +4183,7 @@pkijsDecrypt
Parameters
@@ -4202,7 +4212,7 @@serialize
sign
validateFileFormatSignature
Parameters
@@ -4325,7 +4335,7 @@validateIssuerCertificate
Parameters
@@ -4348,7 +4358,7 @@validateMessageIdLength
Parameters
@@ -4371,7 +4381,7 @@validateMessageLength
Parameters
@@ -4394,7 +4404,7 @@validateMessageTiming
Parameters
@@ -4420,7 +4430,7 @@validatePayloadLength
Parameters
@@ -4443,7 +4453,7 @@validateRecipientAddressLength
Parameters
@@ -4466,7 +4476,7 @@validateTtl
Parameters
@@ -4489,7 +4499,7 @@verifySignature
toBER
issuerPrivateKey
subjectPublicKey
validityEndDate
Optional validityStartvalidityStartDate: Date
cargo
localId
close
collectCargo
deliverCargo
issuerCertificate
issuerPrivateKey
@@ -2449,7 +2449,7 @@subjectPublicKey
@@ -2460,7 +2460,7 @@validityEndDate
@@ -2471,7 +2471,7 @@Optional validityStart
issuerCertificate: Certificate
@@ -2445,7 +2445,7 @@
Inherited from BasicCertificateIssuanceOptions.validityStartDate
-- Defined in src/lib/crypto_wrappers/x509/BasicCertificateIssuanceOptions.ts:4
+ - Defined in src/lib/crypto_wrappers/x509/BasicCertificateIssuanceOptions.ts:4
diff --git a/api/interfaces/dhkeycertificateoptions.html b/api/interfaces/dhkeycertificateoptions.html index 99ece12a5..5322ebf3f 100644 --- a/api/interfaces/dhkeycertificateoptions.html +++ b/api/interfaces/dhkeycertificateoptions.html @@ -2434,7 +2434,7 @@issuerCertificate
issuerPrivateKey
@@ -2456,7 +2456,7 @@subjectPublicKey
@@ -2467,7 +2467,7 @@validityEndDate
@@ -2478,7 +2478,7 @@Optional validityStart
aesKeySize: number
diff --git a/api/interfaces/endpointcertificateissuanceoptions.html b/api/interfaces/endpointcertificateissuanceoptions.html
index 994980cb1..d6d94dbb8 100644
--- a/api/interfaces/endpointcertificateissuanceoptions.html
+++ b/api/interfaces/endpointcertificateissuanceoptions.html
@@ -2427,7 +2427,7 @@
Inherited from BasicCertificateIssuanceOptions.validityStartDate
-- Defined in src/lib/crypto_wrappers/x509/BasicCertificateIssuanceOptions.ts:4
+ - Defined in src/lib/crypto_wrappers/x509/BasicCertificateIssuanceOptions.ts:4
diff --git a/api/interfaces/encryptionoptions.html b/api/interfaces/encryptionoptions.html index 1936bfbeb..240aef3e3 100644 --- a/api/interfaces/encryptionoptions.html +++ b/api/interfaces/encryptionoptions.html @@ -2406,7 +2406,7 @@aesKeySize
Optional issuerCertificat
issuerCertificate: Certificate
@@ -2438,7 +2438,7 @@
issuerPrivateKey
@@ -2449,7 +2449,7 @@subjectPublicKey
@@ -2460,7 +2460,7 @@validityEndDate
@@ -2471,7 +2471,7 @@Optional validityStart
commonName: string
@@ -2449,7 +2449,7 @@ isCA: undefined | false | true
@@ -2459,7 +2459,7 @@
Inherited from BasicCertificateIssuanceOptions.validityStartDate
-- Defined in src/lib/crypto_wrappers/x509/BasicCertificateIssuanceOptions.ts:4
+ - Defined in src/lib/crypto_wrappers/x509/BasicCertificateIssuanceOptions.ts:4
diff --git a/api/interfaces/fullcertificateissuanceoptions.html b/api/interfaces/fullcertificateissuanceoptions.html index 17401d1bd..76dd7ad68 100644 --- a/api/interfaces/fullcertificateissuanceoptions.html +++ b/api/interfaces/fullcertificateissuanceoptions.html @@ -2439,7 +2439,7 @@commonName
Optional isCA
Optional issuerCertificat
issuerCertificate: Certificate
@@ -2470,7 +2470,7 @@
issuerPrivateKey
@@ -2480,7 +2480,7 @@Optional pathLenCons
pathLenConstraint: undefined | number
@@ -2491,7 +2491,7 @@
subjectPublicKey
@@ -2502,7 +2502,7 @@validityEndDate
@@ -2513,7 +2513,7 @@Optional validityStart
Inherited from BasicCertificateIssuanceOptions.validityStartDate
-- Defined in src/lib/crypto_wrappers/x509/BasicCertificateIssuanceOptions.ts:4
+ - Defined in src/lib/crypto_wrappers/x509/BasicCertificateIssuanceOptions.ts:4
diff --git a/api/interfaces/gatewaycertificateissuanceoptions.html b/api/interfaces/gatewaycertificateissuanceoptions.html index 3981af225..d105ee289 100644 --- a/api/interfaces/gatewaycertificateissuanceoptions.html +++ b/api/interfaces/gatewaycertificateissuanceoptions.html @@ -2427,7 +2427,7 @@Optional issuerCertificat
issuerCertificate: Certificate
@@ -2438,7 +2438,7 @@
issuerPrivateKey
@@ -2449,7 +2449,7 @@subjectPublicKey
@@ -2460,7 +2460,7 @@validityEndDate
@@ -2471,7 +2471,7 @@Optional validityStart
date: Date
@@ -2432,7 +2432,7 @@ id: string
@@ -2442,7 +2442,7 @@ payload: Buffer
@@ -2452,7 +2452,7 @@ recipientAddress: string
@@ -2462,7 +2462,7 @@ ttl: number
diff --git a/api/interfaces/messageformatsignature.html b/api/interfaces/messageformatsignature.html
index ae90b8282..cd5a4f35a 100644
--- a/api/interfaces/messageformatsignature.html
+++ b/api/interfaces/messageformatsignature.html
@@ -2410,7 +2410,7 @@ concreteMessageType: number
@@ -2420,7 +2420,7 @@ concreteMessageVersion: number
diff --git a/api/interfaces/messageoptions.html b/api/interfaces/messageoptions.html
index 8331ba0ca..f986a9be0 100644
--- a/api/interfaces/messageoptions.html
+++ b/api/interfaces/messageoptions.html
@@ -2418,7 +2418,7 @@ date: Date
@@ -2428,7 +2428,7 @@ id: string
@@ -2438,7 +2438,7 @@ senderCaCertificateChain: keyof Certificate[]
@@ -2448,7 +2448,7 @@ ttl: number
diff --git a/api/interfaces/nodecertificateoptions.html b/api/interfaces/nodecertificateoptions.html
index fbd7f7775..7147176e3 100644
--- a/api/interfaces/nodecertificateoptions.html
+++ b/api/interfaces/nodecertificateoptions.html
@@ -2431,7 +2431,7 @@ isCA: boolean
@@ -2442,7 +2442,7 @@ pathLenConstraint: number
@@ -2463,7 +2463,7 @@
Inherited from BasicCertificateIssuanceOptions.validityStartDate
-- Defined in src/lib/crypto_wrappers/x509/BasicCertificateIssuanceOptions.ts:4
+ - Defined in src/lib/crypto_wrappers/x509/BasicCertificateIssuanceOptions.ts:4
diff --git a/api/interfaces/messagefieldset.html b/api/interfaces/messagefieldset.html index 59784fc59..6e2f9f453 100644 --- a/api/interfaces/messagefieldset.html +++ b/api/interfaces/messagefieldset.html @@ -2422,7 +2422,7 @@date
id
payload
recipientAddress
ttl
concreteMessageType
concreteMessageVersion
date
id
senderCaCertificateChain
ttl
isCA
issuerPrivateKey
@@ -2452,7 +2452,7 @@pathLenConstraint
subjectPublicKey
@@ -2474,7 +2474,7 @@validityEndDate
@@ -2485,7 +2485,7 @@Optional validityStart
keyId: Buffer
@@ -2432,7 +2432,7 @@ publicKey: CryptoKey
diff --git a/api/interfaces/payloadplaintext.html b/api/interfaces/payloadplaintext.html
index 1728164f1..dc84b00e9 100644
--- a/api/interfaces/payloadplaintext.html
+++ b/api/interfaces/payloadplaintext.html
@@ -2398,6 +2398,7 @@ - CargoMessageSet
+ - EmptyPayloadPlaintext
- ServiceMessage
@@ -2422,7 +2423,7 @@serialize: () => ArrayBuffer
diff --git a/api/interfaces/privatekeydata.html b/api/interfaces/privatekeydata.html
index 8f9c8ad49..4635bf9e7 100644
--- a/api/interfaces/privatekeydata.html
+++ b/api/interfaces/privatekeydata.html
@@ -2414,7 +2414,7 @@ keyDer: Buffer
@@ -2424,7 +2424,7 @@
Inherited from BasicCertificateIssuanceOptions.validityStartDate
-- Defined in src/lib/crypto_wrappers/x509/BasicCertificateIssuanceOptions.ts:4
+ - Defined in src/lib/crypto_wrappers/x509/BasicCertificateIssuanceOptions.ts:4
diff --git a/api/interfaces/originatorsessionkey.html b/api/interfaces/originatorsessionkey.html index 0f75d65fb..ee18ccc8b 100644 --- a/api/interfaces/originatorsessionkey.html +++ b/api/interfaces/originatorsessionkey.html @@ -2417,7 +2417,7 @@keyId
publicKey
Hierarchy
Implemented by
serialize
keyDer
Optional recipientPublic<
recipientPublicKeyDigest: undefined | string
@@ -2434,7 +2434,7 @@ type: "node" | "session"
diff --git a/api/interfaces/sessionencryptionresult.html b/api/interfaces/sessionencryptionresult.html
index 6f91f54dd..a512eb85f 100644
--- a/api/interfaces/sessionencryptionresult.html
+++ b/api/interfaces/sessionencryptionresult.html
@@ -2421,7 +2421,7 @@ dhKeyId: ArrayBuffer
@@ -2436,7 +2436,7 @@ dhPrivateKey: CryptoKey
@@ -2451,7 +2451,7 @@ envelopedData: SessionEnvelopedData
diff --git a/api/interfaces/signatureoptions.html b/api/interfaces/signatureoptions.html
index d4694daad..78bdd5483 100644
--- a/api/interfaces/signatureoptions.html
+++ b/api/interfaces/signatureoptions.html
@@ -2406,7 +2406,7 @@ hashingAlgorithmName: string
diff --git a/api/interfaces/signatureverification.html b/api/interfaces/signatureverification.html
index 436a425c3..318bcb5b8 100644
--- a/api/interfaces/signatureverification.html
+++ b/api/interfaces/signatureverification.html
@@ -2414,7 +2414,7 @@ attachedCertificates: keyof Certificate[]
@@ -2424,7 +2424,7 @@ plaintext: ArrayBuffer
@@ -2434,7 +2434,7 @@ signerCertificate: Certificate
type
dhKeyId
dhPrivateKey
envelopedData
hashingAlgorithmName
attachedCertificates
plaintext
signerCertificate