Bruce
  • Welcome
  • Essentials
    • Features
    • Getting Started
    • General Concepts
    • Roadmap
  • API
    • Cheat Sheet
    • Key Stores
    • Certificates
    • Keys
    • Digests
    • Signatures
    • Verification
    • Symmetric Ciphers
    • Asymmetric Ciphers
    • Message Authentication Codes
Powered by GitBook
On this page
  • Certificate
  • Usage example

Was this helpful?

Export as PDF
  1. API

Certificates

Certificate

Certificate certificate(
    KeyStore keystore, 
    String alias
);

Loads a certificate from a given key store.

Usage example

KeyStore keystore = keystore("classpath:keystore.p12", "password".toCharArray(), "PKCS12");
Certificate certificate = certificate(keystore, "alice");

PreviousKey StoresNextKeys

Last updated 3 years ago

Was this helpful?