Extensions.getNonCriticalExtensionOIDs
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using org.bouncycastle.asn1.x509.Extensions.getNonCriticalExtensionOIDs (Showing top 5 results out of 315)

  • Common ways to obtain Extensions
private void myMethod () {
Extensions e =
  • Object obj;Extensions.getInstance(obj)
  • Certificate certificate;certificate.getTBSCertificate().getExtensions()
  • Extension extension;new Extensions(extension)
  • Smart code suggestions by Codota
}
origin: org.xwiki.commons/xwiki-commons-crypto-pkix

@Override
public String[] getNonCriticalExtensionOID()
{
  ASN1ObjectIdentifier[] asnoids = this.extensions.getNonCriticalExtensionOIDs();
  return toStringArray(asnoids);
}
origin: puppetlabs/ssl-utils

/**
 * Given a Bouncy Castle Extensions container, return a list of maps
 * representing all the X509 extensions embedded in the certificate.
 *
 * @param exts A Bouncy Castle Extensions container object.
 * @return A list of maps describing each extensions in the provided
 *         certificate.
 * @throws IOException
 */
private static List<Map<String, Object>> getExtensionList(Extensions exts)
    throws IOException
{
  List<Map<String, Object>> ret = new ArrayList<Map<String, Object>>();
  for (ASN1ObjectIdentifier oid : exts.getCriticalExtensionOIDs()) {
    ret.add(makeExtensionMap(exts, oid, true));
  }
  for (ASN1ObjectIdentifier oid : exts.getNonCriticalExtensionOIDs()) {
    ret.add(makeExtensionMap(exts, oid, false));
  }
  return ret;
}
origin: puppetlabs/certificate-authority

/**
 * Given a Bouncy Castle Extensions container, return a list of maps
 * representing all the X509 extensions embedded in the certificate.
 *
 * @param exts A Bouncy Castle Extensions container object.
 * @return A list of maps describing each extensions in the provided
 *         certificate.
 * @throws IOException
 */
private static List<Map<String, Object>> getExtensionList(Extensions exts)
    throws IOException
{
  List<Map<String, Object>> ret = new ArrayList<Map<String, Object>>();
  for (ASN1ObjectIdentifier oid : exts.getCriticalExtensionOIDs()) {
    ret.add(makeExtensionMap(exts, oid, true));
  }
  for (ASN1ObjectIdentifier oid : exts.getNonCriticalExtensionOIDs()) {
    ret.add(makeExtensionMap(exts, oid, false));
  }
  return ret;
}
origin: puppetlabs/ssl-utils

for (ASN1ObjectIdentifier oid : bcExtensions.getNonCriticalExtensionOIDs()) {
  certBuilder.addExtension(oid, false, bcExtensions.getExtension(oid).getParsedValue());
origin: puppetlabs/certificate-authority

for (ASN1ObjectIdentifier oid : bcExtensions.getNonCriticalExtensionOIDs()) {
  certGen.addExtension(oid.getId(), false, bcExtensions.getExtension(oid).getExtnValue().getOctets());
org.bouncycastle.asn1.x509ExtensionsgetNonCriticalExtensionOIDs

Popular methods of Extensions

  • <init>
    Base Constructor
  • getExtension
    return the extension represented by the object identifier passed in.
  • getInstance
  • getExtensionParsedValue
    return the parsed value of the extension represented by the object identifier passed in.
  • getExtensionOIDs
  • getEncoded
  • oids
    return an Enumeration of the extension field's object ids.
  • toASN1Primitive
    Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension Extension ::= SEQUENCE { e
  • toOidArray
  • getCriticalExtensionOIDs

Popular in Java

  • Updating database using SQL prepared statement
  • startActivity (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)