Searched refs:KeyUsage (Results 1 – 8 of 8) sorted by relevance
24 public class KeyUsage class39 public static KeyUsage getInstance(Object obj) // needs to be DERBitString for other VMs in getInstance()41 if (obj instanceof KeyUsage) in getInstance()43 return (KeyUsage)obj; in getInstance()47 return new KeyUsage(DERBitString.getInstance(obj)); in getInstance()53 public static KeyUsage fromExtensions(Extensions extensions) in fromExtensions()55 return KeyUsage.getInstance(extensions.getExtensionParsedValue(Extension.keyUsage)); in fromExtensions()65 public KeyUsage( in KeyUsage() method in KeyUsage71 private KeyUsage( in KeyUsage() method in KeyUsage
39 public static final ASN1ObjectIdentifier KeyUsage = new ASN1ObjectIdentifier("2.5.29.15"); field in X509Extensions
9 import org.bouncycastle.asn1.x509.KeyUsage;78 certGen.addExtension(X509Extensions.KeyUsage, true, new KeyUsage(KeyUsage.digitalSignature in generateX509V3AuthorityCertificate()79 | KeyUsage.keyEncipherment | KeyUsage.keyCertSign)); in generateX509V3AuthorityCertificate()146 certGen.addExtension(X509Extensions.KeyUsage, true, new KeyUsage(KeyUsage.digitalSignature in issueX509V3Certificate()147 | KeyUsage.keyEncipherment)); in issueX509V3Certificate()
27 import org.bouncycastle.asn1.x509.KeyUsage;171 certGen.addExtension(X509Extensions.KeyUsage, true, new KeyUsage(KeyUsage.digitalSignature in generateX509V3Certificate()172 | KeyUsage.keyEncipherment | KeyUsage.keyCertSign)); in generateX509V3Certificate()
59 import org.bouncycastle.asn1.x509.KeyUsage;722 buf.append(KeyUsage.getInstance(dIn.readObject())).append(nl); in toString()
57 import org.bouncycastle.asn1.x509.KeyUsage;694 buf.append(KeyUsage.getInstance(dIn.readObject())).append(nl); in toString()
3497 import org.bouncycastle.asn1.x509.KeyUsage;8653 import org.bouncycastle.asn1.x509.KeyUsage;
META-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...