From the course: Writing Secure Code for Android by Infosec
Unlock this course with a free trial
Join today to access over 25,100 courses taught by industry experts.
Understanding PKI
From the course: Writing Secure Code for Android by Infosec
Understanding PKI
- Now that we have some background on asymmetric encryption, let's talk about PKI, the public key infrastructure. This is how we distribute pairs of keys, asymmetric keys. PKI is used to create, distribute, manage, store, use, and revoke something called digital certificates. A digital certificate is simply a public key on a document, on a file, and it's accompanied by some metadata, just some information about it. The private key is stored in a separate little file, and it's usually encrypted. So when we get a certificate, we're usually getting, I mean, if we ask for a certificate that we can use, we are getting both the public key on basically a text file and the associated private key. The PKI system has these components. There will be some kind of certificate management system. There will be digital certificates in the X.509 format. There will be a validation authority, a certificate authority, the end user, and the registration authority. If I go to Verisign, GoDaddy, Microsoft…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Android storage overview9m 25s
-
(Locked)
Protecting secrets13m 5s
-
(Locked)
Activity: Insecurely saving a username and password10m 5s
-
(Locked)
Encryption overview11m 48s
-
(Locked)
Understanding PKI10m 17s
-
(Locked)
Android encryption overview13m 55s
-
(Locked)
Activity: Encrypting data, part 113m 31s
-
(Locked)
Activity: Encrypting data, part 211m 21s
-
(Locked)
Activity: Encrypting data, part 312m 53s
-
(Locked)
Hashing8m 8s
-
(Locked)
Activity: Hashing a password9m 26s
-
(Locked)
Activity: Generating random values3m 52s
-
(Locked)
Activity: Salting a hashed password5m 51s
-
(Locked)
Android Keystore5m 46s
-
(Locked)
Activity: Securely storing secrets in Android Keystore12m 15s
-
(Locked)
-
-
-
-