Class CertificateInfo.X509NameTokenizer

java.lang.Object
com.itextpdf.signatures.CertificateInfo.X509NameTokenizer
Enclosing class:
CertificateInfo

public static class CertificateInfo.X509NameTokenizer extends Object
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 Details

    • X509NameTokenizer

      public X509NameTokenizer (String oid)
      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

      public String nextToken()
      Returns the next token.
      Returns:
      the next token