|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.crypt.x509.RDNSequenceIterator
public class RDNSequenceIterator
Iterates over an ASN.1 encoded RelativeDistinguishedName sequence in reverse order as specified in section 2.1 of RFC 2253 for converting an ASN.1 representation of an RDN sequence to a string.
| Constructor Summary | |
|---|---|
RDNSequenceIterator(org.bouncycastle.asn1.ASN1Sequence rdnSequence)
Creates a new instance from an ASN.1 sequence of RDNs. |
|
RDNSequenceIterator(byte[] encodedRDNSequence)
Creates a new instance from the bytes comprising an encoded ASN.1 sequence of RDN types. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
Iterator<RelativeDistinguishedName> |
iterator()
|
RelativeDistinguishedName |
next()
|
void |
remove()
Not supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RDNSequenceIterator(byte[] encodedRDNSequence)
encodedRDNSequence - ASN.1 encoded sequence as a byte array.public RDNSequenceIterator(org.bouncycastle.asn1.ASN1Sequence rdnSequence)
rdnSequence - ASN.1 sequence containing AttributeValueAndType items
representing RDNs.| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iterator<RelativeDistinguishedName>public RelativeDistinguishedName next()
next in interface Iterator<RelativeDistinguishedName>public void remove()
remove in interface Iterator<RelativeDistinguishedName>UnsupportedOperationException - In all cases.public Iterator<RelativeDistinguishedName> iterator()
iterator in interface Iterable<RelativeDistinguishedName>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||