org.xwiki.crypto.pkix.params.x509certificate
Interface X509CertifiedPublicKey
- All Superinterfaces:
- CertifiedPublicKey
@Unstable
public interface X509CertifiedPublicKey
- extends CertifiedPublicKey
Certified binding of a principal to a public key using an X.509 Certificate.
- Since:
- 5.4
- Version:
- $Id: e543928e7993dd5e7c89af9e596034a845d37d4b $
getNotAfter
Date getNotAfter()
- Returns:
- the date after which this certificate is not valid.
getNotBefore
Date getNotBefore()
- Returns:
- the date before which this certificate is not valid.
getVersionNumber
int getVersionNumber()
- Returns:
- the X.509 version of the certificate (1, 2 or 3).
getSerialNumber
BigInteger getSerialNumber()
- Returns:
- the serial number of the certificate.
isValidOn
boolean isValidOn(Date date)
- Check that the certificate is valid on the given date.
- Parameters:
date
- the date to be checked.
- Returns:
- true if the certificate is valid for the given date.
getExtensions
X509Extensions getExtensions()
- Returns:
- X.509 extension.
Copyright © 2004–2014 XWiki. All rights reserved.