TrustPin Kotlin SDK
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
TrustPin Kotlin SDK
TrustPin Kotlin SDK
/
cloud.trustpin.kotlin.sdk
/
TrustPin
/
Companion
/
fetchCertificate
fetch
Certificate
suspend
fun
fetchCertificate
(
host
:
String
,
port
:
Int
=
443
)
:
String
(
source
)
Fetches a leaf certificate from the default TrustPin instance.
See also
TrustPin.
fetch
Certificate