Skip to content

Commit d1fdfc0

Browse files
committed
chore(jvm): add MLSKeyPackage.copyBytes()
1 parent 1b0dee2 commit d1fdfc0

File tree

1 file changed

+3
-0
lines changed
  • crypto-ffi/bindings/jvm/src/main/kotlin/com/wire/crypto

1 file changed

+3
-0
lines changed

crypto-ffi/bindings/jvm/src/main/kotlin/com/wire/crypto/MlsModel.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ value class MLSKeyPackage(val value: com.wire.crypto.uniffi.KeyPackage) {
161161
/** Lower this wrapper to the internal FFI type */
162162
fun lower(): com.wire.crypto.uniffi.KeyPackage = value
163163

164+
/** Copy the bytes from the KeyPackage */
165+
fun copyBytes() = value.copyBytes()
166+
164167
override fun toString() = value.copyBytes().toHex()
165168
}
166169

0 commit comments

Comments
 (0)