com.google.bitcoin.bouncycastle.asn1.x500.DirectoryString

Here are the examples of the java api class com.google.bitcoin.bouncycastle.asn1.x500.DirectoryString taken from open source projects.

1. ProfessionInfo#getProfessionItems()

Project: bitcoin-android
Source File: ProfessionInfo.java
View license
/**
     * @return Returns the professionItems.
     */
public DirectoryString[] getProfessionItems() {
    DirectoryString[] items = new DirectoryString[professionItems.size()];
    int count = 0;
    for (Enumeration e = professionItems.getObjects(); e.hasMoreElements(); ) {
        items[count++] = DirectoryString.getInstance(e.nextElement());
    }
    return items;
}

2. NameOrPseudonym#getGivenName()

View license
public DirectoryString[] getGivenName() {
    DirectoryString[] items = new DirectoryString[givenName.size()];
    int count = 0;
    for (Enumeration e = givenName.getObjects(); e.hasMoreElements(); ) {
        items[count++] = DirectoryString.getInstance(e.nextElement());
    }
    return items;
}