Stay organized with collections
Save and categorize content based on your preferences.
CertPathRep
protected open class CertPathRep : Serializable
Alternate CertPath
class for serialization.
Summary
Protected constructors |
Creates a CertPathRep with the specified type and encoded form of a certification path.
|
Protected methods |
open Any! |
Returns a CertPath constructed from the type and data.
|
Protected constructors
CertPathRep
protected CertPathRep(
type: String!,
data: ByteArray!)
Creates a CertPathRep
with the specified type and encoded form of a certification path.
Parameters |
type |
String!: the standard name of a CertPath type |
data |
ByteArray!: the encoded form of the certification path |
Protected methods
readResolve
protected open fun readResolve(): Any!
Returns a CertPath
constructed from the type and data.
Return |
Any! |
the resolved CertPath object |
Exceptions |
java.io.ObjectStreamException |
if a CertPath could not be constructed |
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,["# CertPath.CertPathRep\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nCertPathRep\n===========\n\n```\nprotected open class CertPathRep : Serializable\n```\n\n|---|----------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [java.security.cert.CertPath.CertPathRep](#) |\n\nAlternate `CertPath` class for serialization.\n\nSummary\n-------\n\n| Protected constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [CertPathRep](#CertPathRep(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)!`)` Creates a `CertPathRep` with the specified type and encoded form of a certification path. |\n\n| Protected methods ||\n|----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|\n| open [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)! | [readResolve](#readResolve())`()` Returns a `CertPath` constructed from the type and data. |\n\nProtected constructors\n----------------------\n\n### CertPathRep\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nprotected CertPathRep(\n type: String!, \n data: ByteArray!)\n```\n\nCreates a `CertPathRep` with the specified type and encoded form of a certification path.\n\n| Parameters ||\n|--------|--------------------------------------------------------------------------------------------------------------------------------------|\n| `type` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: the standard name of a `CertPath` type |\n| `data` | [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)!: the encoded form of the certification path |\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\nReturns a `CertPath` constructed from the type and data.\n\n| Return ||\n|-----------------------------------------------------------------------------|--------------------------------|\n| [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)! | the resolved `CertPath` object |\n\n| Exceptions ||\n|---------------------------------|------------------------------------------|\n| `java.io.ObjectStreamException` | if a `CertPath` could not be constructed |"]]