KeyAttestationCertPathFactory

class KeyAttestationCertPathFactory(val fakeCalendar: FakeCalendar = FakeCalendar())

Factory for creating valid KeyAttestationCertPath chains for testing.

Parameters

fakeCalendar

the fake calendar for the certificate chains validity period.

Constructors

Link copied to clipboard
constructor(fakeCalendar: FakeCalendar = FakeCalendar())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val rootKey: <Error class: unknown class>

Functions

Link copied to clipboard
fun generateCertPath(keyDescription: KeyDescription, remotelyProvisioned: Boolean = false, leafKey: PublicKey = certFactory.leafKey.public): KeyAttestationCertPath