[android-components](../index.md) / [mozilla.components.browser.session.ext](index.md) / [toSecurityInfoState](./to-security-info-state.md)

# toSecurityInfoState

`fun `[`SecurityInfo`](../mozilla.components.browser.session/-session/-security-info/index.md)`.toSecurityInfoState(): `[`SecurityInfoState`](../mozilla.components.browser.state.state/-security-info-state/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/session/src/main/java/mozilla/components/browser/session/ext/SessionExtensions.kt#L46)

Creates a matching [SecurityInfoState](../mozilla.components.browser.state.state/-security-info-state/index.md) from a [Session.SecurityInfo](../mozilla.components.browser.session/-session/-security-info/index.md)

