Package org.xwiki.crypto.pkix
Interface CertificateFactory
-
@Role public interface CertificateFactory
Component role for creating certificate instances from external sources.- Since:
- 5.4
- Version:
- $Id: c8a95d234b185ee885c1b5371e797efe2330bbad $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CertifiedPublicKey
decode(byte[] encoded)
Decode an ASN.1 encoded certified public key.
-
-
-
Method Detail
-
decode
CertifiedPublicKey decode(byte[] encoded) throws IOException
Decode an ASN.1 encoded certified public key.- Parameters:
encoded
- a encoded certificate.- Returns:
- a certified public key.
- Throws:
IOException
- on encoding error.
-
-