|
1 | 1 | 
|
2 | 2 |
|
3 |
| -# Change Log - Version 0.0.0 |
| 3 | +# Change Log - Version 3.0.0 |
4 | 4 |
|
5 | 5 | This document serves as the change log for the ONIXLabs Corda Core API.
|
6 | 6 |
|
7 | 7 | ## Release Notes
|
8 | 8 |
|
9 |
| -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
| 9 | +This release publishes source code along with the compiled dependencies, enabling developers debug into the ONIXLabs APIs and understand what's going on under the hood. |
10 | 10 |
|
11 | 11 | ---
|
12 | 12 |
|
13 |
| -### TypeName _Declaration_ |
| 13 | +### sortAndReduce _Extension Function_ |
14 | 14 |
|
15 |
| -**Module:** onixlabs-corda-core-modulename |
| 15 | +**Module:** onixlabs-corda-core-contract |
16 | 16 |
|
17 |
| -**Package:** io.onixlabs.corda.core.packagename |
| 17 | +**Package:** io.onixlabs.corda.core.contract |
18 | 18 |
|
19 |
| -Description of the type or feature. |
| 19 | +Sorts and reduces an `Iterable` of `SecureHash` into a single hash. |
20 | 20 |
|
21 | 21 | ```kotlin
|
22 |
| -class TypeName |
| 22 | +fun Iterable<SecureHash>.sortAndReduce(): SecureHash |
23 | 23 | ```
|
24 | 24 |
|
25 |
| -#### Remarks |
| 25 | +--- |
| 26 | + |
| 27 | +### SignatureData *Class* |
| 28 | + |
| 29 | +**Module:** onixlabs-corda-core-contract |
| 30 | + |
| 31 | +**Package:** io.onixlabs.corda.core.contract |
| 32 | + |
| 33 | +#### Description |
| 34 | + |
| 35 | +Represents an array of unsigned bytes, and its signed equivalent. |
| 36 | + |
| 37 | +```kotlin |
| 38 | +@CordaSerializable |
| 39 | +data class SignatureData( |
| 40 | + val content: ByteArray, |
| 41 | + val signature: DigitalSignature |
| 42 | +) |
| 43 | +``` |
26 | 44 |
|
27 |
| -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
| 45 | +> 🔵 **INFORMATION** |
| 46 | +> |
| 47 | +> This API exists in version 1.2.0 however in version 3.0.0 the `verify` function no longer returns `Boolean`. Instead, the `isValid` function replaces the `verify` function, and the `verify` function now returns `Unit`, or throws a `SignatureException` if the digital signature could not be verified by the specified public key. |
28 | 48 |
|
29 | 49 | ---
|
30 | 50 |
|
| 51 | +### |
0 commit comments