Search in sources :

Example 6 with PrivateKeyUsagePeriod

use of org.xipki.ca.certprofile.x509.jaxb.PrivateKeyUsagePeriod in project xipki by xipki.

the class ProfileConfCreatorDemo method createPrivateKeyUsagePeriod.

private static ExtensionValueType createPrivateKeyUsagePeriod(String validity) {
    PrivateKeyUsagePeriod extValue = new PrivateKeyUsagePeriod();
    extValue.setValidity(validity);
    return createExtensionValueType(extValue);
}
Also used : PrivateKeyUsagePeriod(org.xipki.ca.certprofile.x509.jaxb.PrivateKeyUsagePeriod)

Aggregations

ASN1ObjectIdentifier (org.bouncycastle.asn1.ASN1ObjectIdentifier)5 LinkedList (java.util.LinkedList)3 ExtensionsType (org.xipki.ca.certprofile.x509.jaxb.ExtensionsType)3 RdnType (org.xipki.ca.certprofile.x509.jaxb.RdnType)3 Subject (org.xipki.ca.certprofile.x509.jaxb.X509ProfileType.Subject)3 NoSuchAlgorithmException (java.security.NoSuchAlgorithmException)2 ArrayList (java.util.ArrayList)2 HashMap (java.util.HashMap)2 HashSet (java.util.HashSet)2 DERIA5String (org.bouncycastle.asn1.DERIA5String)2 DEROctetString (org.bouncycastle.asn1.DEROctetString)2 DERPrintableString (org.bouncycastle.asn1.DERPrintableString)2 DERTaggedObject (org.bouncycastle.asn1.DERTaggedObject)2 DERUTF8String (org.bouncycastle.asn1.DERUTF8String)2 DirectoryString (org.bouncycastle.asn1.x500.DirectoryString)2 CertprofileException (org.xipki.ca.api.profile.CertprofileException)2 Date (java.util.Date)1 List (java.util.List)1 Map (java.util.Map)1 Vector (java.util.Vector)1