이성찬, 2017
Continuation 은 제어 흐름 을 구체화 해 first-class citizen으로 다룰 수 있게 한 추상 표현.
| import androidx.compose.foundation.BorderStroke | |
| /* | |
| * Copyright 2020 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| package oogaday.commons.enums | |
| enum class StatusCode(val code: Int) { | |
| Continue(100), | |
| SwitchingProtocols(101), | |
| Processing(102), | |
| OK(200), | |
| Created(201), | |
| Accepted(202), |
| import android.os.Build | |
| import android.security.KeyPairGeneratorSpec | |
| import android.security.keystore.KeyGenParameterSpec | |
| import android.security.keystore.KeyProperties | |
| import android.util.Base64 | |
| import timber.log.Timber | |
| import java.math.BigInteger | |
| import java.security.GeneralSecurityException | |
| import java.security.KeyPairGenerator | |
| import java.security.KeyStore |
| /* | |
| * Copyright 2017 Google, Inc. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |