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

Functions

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