Stay organized with collections
Save and categorize content based on your preferences.
CertificateRep
protected open class CertificateRep : Serializable
Alternate Certificate class for serialization.
Summary
Protected constructors |
Construct the alternate Certificate class with the Certificate type and Certificate encoding bytes.
|
Protected methods |
open Any! |
Resolve the Certificate Object.
|
Protected constructors
CertificateRep
protected CertificateRep(
type: String!,
data: ByteArray!)
Construct the alternate Certificate class with the Certificate type and Certificate encoding bytes.
Parameters |
type |
String!: the standard name of the Certificate type. |
data |
ByteArray!: the Certificate data. |
Protected methods
readResolve
protected open fun readResolve(): Any!
Resolve the Certificate Object.
Return |
Any! |
the resolved Certificate Object |
Exceptions |
java.io.ObjectStreamException |
if the Certificate could not be resolved |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# Certificate.CertificateRep\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nCertificateRep\n==============\n\n```\nprotected open class CertificateRep : Serializable\n```\n\n|---|----------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [java.security.cert.Certificate.CertificateRep](#) |\n\nAlternate Certificate class for serialization.\n\nSummary\n-------\n\n| Protected constructors ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [CertificateRep](#CertificateRep(kotlin.String,%20kotlin.ByteArray))`(`type:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`, `data:` `[ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)!`)` Construct the alternate Certificate class with the Certificate type and Certificate encoding bytes. |\n\n| Protected methods ||\n|----------------------------------------------------------------------------------|-------------------------------------------------------------------|\n| open [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)! | [readResolve](#readResolve())`()` Resolve the Certificate Object. |\n\nProtected constructors\n----------------------\n\n### CertificateRep\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nprotected CertificateRep(\n type: String!, \n data: ByteArray!)\n```\n\nConstruct the alternate Certificate class with the Certificate type and Certificate encoding bytes.\n\n| Parameters ||\n|--------|-------------------------------------------------------------------------------------------------------------------------------|\n| `type` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: the standard name of the Certificate type. |\n| `data` | [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)!: the Certificate data. |\n\nProtected methods\n-----------------\n\n### readResolve\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nprotected open fun readResolve(): Any!\n```\n\nResolve the Certificate Object.\n\n| Return ||\n|-----------------------------------------------------------------------------|---------------------------------|\n| [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)! | the resolved Certificate Object |\n\n| Exceptions ||\n|---------------------------------|------------------------------------------|\n| `java.io.ObjectStreamException` | if the Certificate could not be resolved |"]]