| | |
| | | * |
| | | * |
| | | * Copyright 2013-2014 Manuel Gaupp |
| | | * Copyright 2014 ForgeRock AS |
| | | * Copyright 2014-2015 ForgeRock AS |
| | | * Portions Copyright 2014 ForgeRock AS |
| | | */ |
| | | package org.opends.server.protocols.asn1; |
| | | |
| | | |
| | | |
| | | import java.math.BigInteger; |
| | | import java.util.regex.Matcher; |
| | | import java.util.regex.Pattern; |
| | |
| | | import static org.opends.messages.ProtocolMessages.*; |
| | | import static org.forgerock.util.Reject.*; |
| | | |
| | | |
| | | |
| | | /** |
| | | * This class implements a parser for strings which are encoded using the |
| | | * Generic String Encoding Rules (GSER) defined in RFC 3641. |
| | |
| | | { |
| | | |
| | | private String gserValue; |
| | | |
| | | private int pos; |
| | | |
| | | private int length; |
| | | |
| | | /** |
| | |
| | | */ |
| | | public boolean hasNext() |
| | | { |
| | | return (pos < length); |
| | | return pos < length; |
| | | } |
| | | |
| | | |