/** * Returns the list of string representation of OIDs corresponding * to key purpose IDs. */ public List<String> getExtendedKeyUsage() throws IOException { if (keys == null) { keys = (List<String>) ASN1.decode(getEncoded()); } return keys; }
/** * Returns the list of string representation of OIDs corresponding * to key purpose IDs. */ public List<String> getExtendedKeyUsage() throws IOException { if (keys == null) { keys = (List<String>) ASN1.decode(getEncoded()); } return keys; }
/** * Returns the list of string representation of OIDs corresponding * to key purpose IDs. */ public List<String> getExtendedKeyUsage() throws IOException { if (keys == null) { keys = (List<String>) ASN1.decode(getEncoded()); } return keys; }
/** * Returns the list of string representation of OIDs corresponding * to key purpose IDs. */ public List<String> getExtendedKeyUsage() throws IOException { if (keys == null) { keys = (List<String>) ASN1.decode(getEncoded()); } return keys; }
KeyUsage ku = new KeyUsage(KeyUsage.digitalSignature); Extension kuExt = new Extension(Extension.keyUsage, true, ku.getEncoded()); ExtendedKeyUsage eku = new ExtendedKeyUsage(KeyPurposeId.id_kp_serverAuth); Extension ekuExt = new Extension(Extension.extendedKeyUsage, true, eku.getEncoded()); Extensions exts = new Extensions(new Extension[] {kuExt, ekuExt}); builder.addAttribute(PKCSObjectIdentifiers.pkcs_9_at_extensionRequest, exts);
/** * Returns the list of string representation of OIDs corresponding * to key purpose IDs. */ public List<String> getExtendedKeyUsage() throws IOException { if (keys == null) { keys = (List<String>) ASN1.decode(getEncoded()); } return keys; }
/** * Returns the list of string representation of OIDs corresponding * to key purpose IDs. */ public List<String> getExtendedKeyUsage() throws IOException { if (keys == null) { keys = (List<String>) ASN1.decode(getEncoded()); } return keys; }
/** * Returns the list of string representation of OIDs corresponding * to key purpose IDs. */ public List<String> getExtendedKeyUsage() throws IOException { if (keys == null) { keys = (List<String>) ASN1.decode(getEncoded()); } return keys; }