Example usage for org.bouncycastle.asn1.pkcs PKCSObjectIdentifiers pkcs_9_at_unstructuredName

List of usage examples for org.bouncycastle.asn1.pkcs PKCSObjectIdentifiers pkcs_9_at_unstructuredName

Introduction

In this page you can find the example usage for org.bouncycastle.asn1.pkcs PKCSObjectIdentifiers pkcs_9_at_unstructuredName.

Prototype

ASN1ObjectIdentifier pkcs_9_at_unstructuredName

To view the source code for org.bouncycastle.asn1.pkcs PKCSObjectIdentifiers pkcs_9_at_unstructuredName.

Click Source Link

Document

PKCS#9: 1.2.840.113549.1.9.2

Usage

From source file:net.sf.keystore_explorer.gui.dialogs.DialogHelper.java

License:Open Source License

/**
 * Populates a JTextField with PKCS#10/#9 unstructuredName
 *
 * @param attributes//from w  ww  .j av a 2  s  .  c o m
 *              Attributes from CSR
 * @param textField
 *              Text field to be populated with the unstructuredName
 */
public static void populatePkcs10UnstructuredName(Attribute[] attributes, JTextField textField) {

    ASN1ObjectIdentifier pkcs9UnstructureName = PKCSObjectIdentifiers.pkcs_9_at_unstructuredName;
    populateTextField(attributes, textField, pkcs9UnstructureName);
}