[android-components](../../index.md) / [mozilla.components.concept.engine.webpush](../index.md) / [WebPushSubscription](index.md) / [publicKey](./public-key.md)

# publicKey

`val publicKey: `[`ByteArray`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/engine/src/main/java/mozilla/components/concept/engine/webpush/WebPush.kt#L47)

The public key generated, to be provided to the app server for message encryption.

