Package com.itextpdf.signatures
Class CertificateInfo.X509NameTokenizer
java.lang.Object
com.itextpdf.signatures.CertificateInfo.X509NameTokenizer
- Enclosing class:
- CertificateInfo
Class for breaking up an X500 Name into it's component tokens, similar to
StringTokenizer
. We need this class as some of the lightweight Java environments don't support classes such as StringTokenizer.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the tokenizer has any tokens left.Returns the next token.
-
Constructor Details
-
X509NameTokenizer
Creates an X509NameTokenizer.- Parameters:
-
oid
- the oid that needs to be parsed
-
-
Method Details
-
hasMoreTokens
public boolean hasMoreTokens()Checks if the tokenizer has any tokens left.- Returns:
- true if there are any tokens left, false if there aren't
-
nextToken
Returns the next token.- Returns:
- the next token
-