org.xwiki.crypto.pkix
Interface CertificateFactory
@Role
@Unstable
public interface CertificateFactory
Component role for creating certificate instances from external sources.
- Since:
- 5.4
- Version:
- $Id: eb384d1202a2acc8ef9d039ba6b4dd8718982920 $
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.
Copyright © 2004–2014 XWiki. All rights reserved.