@Override public void handle(final DERParser parser, final ByteBuffer encoded) { final byte[] cookie = OctetStringType.readBuffer(encoded); if (cookie != null && cookie.length > 0) { getObject().setCookie(cookie); } } }
@Override public void handle(final DERParser parser, final ByteBuffer encoded) { final byte[] cookie = OctetStringType.readBuffer(encoded); if (cookie != null && cookie.length > 0) { getObject().setCookie(cookie); } } }
@Override public void handle(final DERParser parser, final ByteBuffer encoded) { final byte[] cookie = OctetStringType.readBuffer(encoded); if (cookie != null && cookie.length > 0) { getObject().setCookie(cookie); } } }
/** * Creates a new sync state control. * * @param state sync state * @param uuid sync entry uuid * @param value sync state cookie * @param critical whether this control is critical */ public SyncStateControl(final State state, final UUID uuid, final byte[] value, final boolean critical) { super(OID, critical); setSyncState(state); setEntryUuid(uuid); setCookie(value); }
/** * Creates a new sync state control. * * @param state sync state * @param uuid sync entry uuid * @param value sync state cookie * @param critical whether this control is critical */ public SyncStateControl(final State state, final UUID uuid, final byte[] value, final boolean critical) { super(OID, critical); setSyncState(state); setEntryUuid(uuid); setCookie(value); }
/** * Creates a new sync state control. * * @param state sync state * @param uuid sync entry uuid * @param value sync state cookie * @param critical whether this control is critical */ public SyncStateControl(final State state, final UUID uuid, final byte[] value, final boolean critical) { super(OID, critical); setSyncState(state); setEntryUuid(uuid); setCookie(value); }